diff options
author | peter <peter@FreeBSD.org> | 1998-03-10 13:40:57 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-03-10 13:40:57 +0000 |
commit | a194b78bd292dd13f17cfe65c12fb5dee1bb9392 (patch) | |
tree | 83716acb7a6188c846ca3328958e0a93b9701795 /contrib/cvs/src/no_diff.c | |
parent | 39cd03a57045ca27b0e7323a52f287f7696fa947 (diff) | |
parent | 0c111e2b51cac7eead56494b30c5977e4ec9a8ea (diff) | |
download | FreeBSD-src-a194b78bd292dd13f17cfe65c12fb5dee1bb9392.zip FreeBSD-src-a194b78bd292dd13f17cfe65c12fb5dee1bb9392.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r34461,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/cvs/src/no_diff.c')
-rw-r--r-- | contrib/cvs/src/no_diff.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/cvs/src/no_diff.c b/contrib/cvs/src/no_diff.c index 6d6a6fb..078343e 100644 --- a/contrib/cvs/src/no_diff.c +++ b/contrib/cvs/src/no_diff.c @@ -36,6 +36,13 @@ No_Difference (finfo, vers) if (!vers->srcfile || !vers->srcfile->path) return (-1); /* different since we couldn't tell */ +#ifdef PRESERVE_PERMISSIONS_SUPPORT + /* If special files are in use, then any mismatch of file metadata + information also means that the files should be considered different. */ + if (preserve_perms && special_file_mismatch (finfo, vers->vn_user, NULL)) + return 1; +#endif + if (vers->entdata && vers->entdata->options) options = xstrdup (vers->entdata->options); else |