cvs commit: projects/csup keyword.c keyword.h misc.h proto.c

Maxime Henrion <[email protected]> Sat, 11 Feb 2006 18:32:09 +0000 (UTC)
Newsgroups gmane.os.freebsd.devel.cvs.projects
Message-ID <[email protected]>
mux         2006-02-11 18:32:09 UTC

  FreeBSD projects repository

  Modified files:
    csup                 keyword.c keyword.h misc.h proto.c 
  Log:
  - Rewrite handling of RCS keywords/aliases so that it works as intended.
  - Fix the keyword API so that a newly created keyword object has all
    the default RCS tags enabled.
  - Add a keyword_prepare() function to purge the disabled keywords from
    the list and compute the minimum and maximum length of a keyword,
    used as an optimisation in keyword_expand().  It might be interesting
    to have a hash table of the keywords to further optimize some day.
  - Use keyword_prepare() when done with the KEYALIAS, KEYON and KEYOFF
    commands.
  
  With the second fix, I can update files from an OpenBSD CVSup server
  without crashing.
  
  Revision  Changes    Path
  1.25      +63 -59    projects/csup/keyword.c
  1.8       +5 -4      projects/csup/keyword.h
  1.22      +2 -1      projects/csup/misc.h
  1.65      +2 -1      projects/csup/proto.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-projects
To unsubscribe, send any mail to "[email protected]"