Date: Sat, 11 Feb 2006 18:32:09 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup keyword.c keyword.h misc.h proto.c Message-ID: <200602111832.k1BIW93M083752@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602111832.k1BIW93M083752>