diff options
author | obrien <obrien@FreeBSD.org> | 2008-06-05 15:09:53 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2008-06-05 15:09:53 +0000 |
commit | c2693f72a066cfacb1b1bdaa7171accfcfa8ed94 (patch) | |
tree | d0da67c26456c2f2d5453e9b80760cf1a58aa2d4 /contrib/cvs/src | |
parent | 0a5000fa8f5dc4ef88a3a8cddffbfa655f72c485 (diff) | |
download | FreeBSD-src-c2693f72a066cfacb1b1bdaa7171accfcfa8ed94.zip FreeBSD-src-c2693f72a066cfacb1b1bdaa7171accfcfa8ed94.tar.gz |
Optimize the CVS bug #17168 fix by relaxing the conditions for update.
Diffstat (limited to 'contrib/cvs/src')
-rw-r--r-- | contrib/cvs/src/classify.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/cvs/src/classify.c b/contrib/cvs/src/classify.c index d8bf399..0ec8d4e 100644 --- a/contrib/cvs/src/classify.c +++ b/contrib/cvs/src/classify.c @@ -34,7 +34,9 @@ keywords_may_change (aflag, vers) aflag /* ...and... */ && (/* ...there used to be a tag which subs in Name keys... */ - (vers->entdata->tag && !isdigit (vers->entdata->tag[0])) + (vers->entdata->tag && !isdigit (vers->entdata->tag[0]) + && vers->tag && !isdigit (vers->tag[0]) + && strcmp (vers->entdata->tag, vers->tag)) /* ...or there used to be a keyword mode which may be * changed by -A... */ |