diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-23 22:13:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-23 22:13:51 +0000 |
commit | 8fa0445c4f8dc3b1519fc8f6365005cd3fcdce8b (patch) | |
tree | 32b400ed061d21295beb40502f666a2f2b783b7d /src/fileio.c | |
parent | 5c2f050d91238962d2ea4895c5613030ec212459 (diff) |
updated for version 7.0176
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 1ff4e46095..c21035ce12 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4201,6 +4201,9 @@ restore_backup: # endif buf_setino(buf); } + else if (buf->b_dev < 0) + /* Set the inode when creating a new file. */ + buf_setino(buf); #endif if (close(fd) != 0) |