Optimize the CVS bug #17168 fix by relaxing the conditions for update.

This commit is contained in:
David E. O'Brien 2008-06-05 15:09:53 +00:00
parent 5d5028e774
commit b1ca926d0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179561

View File

@ -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...
*/