This is the mail archive of the gnats-cvs@sourceware.cygnus.com mailing list for the GNATS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gnats/gnats ChangeLog field.c field.h getclose ...


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()).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]