diff options
author | peter <peter@FreeBSD.org> | 1999-12-11 12:24:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-11 12:24:21 +0000 |
commit | b38569ff99f04a0eff4c8387273fafe38bb58c43 (patch) | |
tree | 2ed56a5cb810a4c08d41ea1babfef0e4a2c88b3e /contrib/cvs/src/hardlink.c | |
parent | 25155fc40f43750917e9621b6e4b57f72e19a29c (diff) | |
parent | 784ea5066cbea73d04e8ce5783dd0eb842e3ac1f (diff) | |
download | FreeBSD-src-b38569ff99f04a0eff4c8387273fafe38bb58c43.zip FreeBSD-src-b38569ff99f04a0eff4c8387273fafe38bb58c43.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r54427,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/cvs/src/hardlink.c')
-rw-r--r-- | contrib/cvs/src/hardlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cvs/src/hardlink.c b/contrib/cvs/src/hardlink.c index b279aa9..046cf3a 100644 --- a/contrib/cvs/src/hardlink.c +++ b/contrib/cvs/src/hardlink.c @@ -66,7 +66,7 @@ lookup_file_by_inode (filepath) inodestr = (char *) xmalloc (2*sizeof(ino_t)*sizeof(char) + 1); if (stat (file, &sb) < 0) { - if (errno == ENOENT) + if (existence_error (errno)) { /* The file doesn't exist; we may be doing an update on a file that's been removed. A nonexistent file has no |