1 $DragonFly: src/gnu/usr.bin/cvs/cvs/Attic/parseinfo.c.patch,v 1.4 2005/12/07 01:16:30 corecode Exp $
3 ===================================================================
4 RCS file: /space/cvs/dragonfly/src/contrib/cvs-1.12/src/parseinfo.c,v
5 retrieving revision 1.1.1.1
6 diff -u -r1.1.1.1 parseinfo.c
7 --- src/parseinfo.c 7 Dec 2005 00:15:19 -0000 1.1.1.1
8 +++ src/parseinfo.c 7 Dec 2005 01:04:02 -0000
12 struct config *retval;
14 /* PROCESSING Whether config keys are currently being processed for
16 * PROCESSED Whether any keys have been processed for this root.
19 retval = new_config ();
22 fp_info = CVS_FOPEN (infopath, "r");
26 readBool (infopath, "SystemAuth", p, &dummy);
29 - else if (strcmp (line, "LocalKeyword") == 0)
30 + else if (strcmp (line, "LocalKeyword") == 0 ||
31 + strcmp (line, "tag") == 0)
32 RCS_setlocalid (infopath, ln, &retval->keywords, p);
33 - else if (strcmp (line, "KeywordExpand") == 0)
34 + else if (strcmp (line, "KeywordExpand") == 0 ||
35 + strcmp (line, "tagexpand") == 0)
36 RCS_setincexc (&retval->keywords, p);
37 else if (strcmp (line, "PreservePermissions") == 0)
40 if (freeinfopath) free (freeinfopath);
43 + if (path == NULL && !rescan++) {
44 + infopath = freeinfopath =
45 + Xasprintf ("%s/%s/%s", cvsroot, CVSROOTADM, CVSROOTADM_OPTIONS);