From 0c111e2b51cac7eead56494b30c5977e4ec9a8ea Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 10 Mar 1998 13:40:57 +0000 Subject: Import cvs-1.9.26 onto vendor branch --- contrib/cvs/src/parseinfo.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'contrib/cvs/src/parseinfo.c') diff --git a/contrib/cvs/src/parseinfo.c b/contrib/cvs/src/parseinfo.c index c492be0..a8a1b4a 100644 --- a/contrib/cvs/src/parseinfo.c +++ b/contrib/cvs/src/parseinfo.c @@ -326,6 +326,26 @@ parse_config (cvsroot) goto error_return; } } + else if (strcmp (line, "PreservePermissions") == 0) + { + if (strcmp (p, "no") == 0) + preserve_perms = 0; + else if (strcmp (p, "yes") == 0) + { +#ifdef PRESERVE_PERMISSIONS_SUPPORT + preserve_perms = 1; +#else + error (0, 0, "\ +warning: this CVS does not support PreservePermissions"); +#endif + } + else + { + error (0, 0, "unrecognized value '%s' for PreservePermissions", + p); + goto error_return; + } + } else { /* We may be dealing with a keyword which was added in a -- cgit v1.1