gnats/gnats ChangeLog field.c field.h getclose ...
bmanson@sourceware.cygnus.com
bmanson@sourceware.cygnus.com
Fri Feb 25 11:47:00 GMT 2000
CVSROOT: /cvs/gnats
Module name: gnats
Changes by: bmanson@sourceware.cygnus.com 00/02/25 11:47:13
Modified files:
gnats : ChangeLog field.c field.h getclose.c misc.c
pr.c query.c query.h
Log message:
* pr.c (getFieldHeader): Use xstrndup.
(write_pr_field): Don't call xmalloc (); instead, be a bit
smarter about formatting output. (Can probably remove some
rather inefficient calls to fprintf() as well.)
* field.c (isConstantFieldValue): New function.
* query.c: Add QueryItem object to hold individual query items;
this lets us keep around precompiled regexps for constant
query regexps, instead of recompiling every time.
(regcmp, regfind): Add pattern buffer argument; only compile
the regexp into the supplied buffer once.
* misc.c (readLine): Optimize (remove a unnecessary memcpy()).
More information about the Gnats-cvs
mailing list