public inbox for gnats-cvs@sourceware.org
help / color / mirror / Atom feed
* gnats/gnats ChangeLog field.c field.h pr.c query.c
@ 2000-02-25 21:51 bmanson
  0 siblings, 0 replies; only message in thread
From: bmanson @ 2000-02-25 21:51 UTC (permalink / raw)
  To: gnats-cvs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-25 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-25 21:51 gnats/gnats ChangeLog field.c field.h pr.c query.c bmanson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).