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 pr.c query.c


CVSROOT:	/cvs/gnats
Module name:	gnats
Changes by:	bmanson@sourceware.cygnus.com	00/02/25 21:51:43

Modified files:
	gnats          : ChangeLog field.c field.h pr.c query.c 

Log message:
	* query.c (newQueryItem): Keep the last-freed entry, and return it
	instead of allocating a new one.  Make sure we free the regexp
	buffer we allocated.
	
	* pr.c (getFieldHeader): Don't bother making a copy of the header
	name, just return a pointer into the line and the length of the
	header.
	(find_field_num): Add LEN parameter.
	
	* field.c: Create a sorted list of field names.
	(find_field_index_with_len): New function (basically renamed
	from find_field_index).  Do a binary search for the field name on
	the sorted field name list.


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