Mercurial > vim
comparison src/fileio.c @ 1873:6c7719f94811 v7.2.170
updated for version 7.2-170
author | vimboss |
---|---|
date | Wed, 13 May 2009 18:48:16 +0000 |
parents | 5ea1f7516c2c |
children | b5c1cb6f8d56 |
comparison
equal
deleted
inserted
replaced
1872:f13849167330 | 1873:6c7719f94811 |
---|---|
4414 (void)mch_setperm(wfname, perm); | 4414 (void)mch_setperm(wfname, perm); |
4415 } | 4415 } |
4416 # endif | 4416 # endif |
4417 buf_setino(buf); | 4417 buf_setino(buf); |
4418 } | 4418 } |
4419 else if (buf->b_dev < 0) | 4419 else if (!buf->b_dev_valid) |
4420 /* Set the inode when creating a new file. */ | 4420 /* Set the inode when creating a new file. */ |
4421 buf_setino(buf); | 4421 buf_setino(buf); |
4422 #endif | 4422 #endif |
4423 | 4423 |
4424 if (close(fd) != 0) | 4424 if (close(fd) != 0) |