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

Maxime Henrion mux at FreeBSD.org
Sat Feb 11 10:32:09 PST 2006


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


More information about the cvs-all mailing list