Re: [OPEN-ILS-DEV] buffer_chomp()

2008-12-02 Thread Dan Scott
Hi Scott: 2008/12/1 Scott McKellar [EMAIL PROTECTED]: The other day I noticed the new buffer_chomp function. It removes the last character of a growing_buffer, and returns the new length. snip I can incorporate these two changes into my next patch to utils.[ch] -- which will probably be

Re: [OPEN-ILS-DEV] buffer_chomp()

2008-12-02 Thread Scott McKellar
--- On Tue, 12/2/08, Dan Scott [EMAIL PROTECTED] wrote: From: Dan Scott [EMAIL PROTECTED] Subject: Re: [OPEN-ILS-DEV] buffer_chomp() To: [EMAIL PROTECTED], Evergreen Development Discussion List open-ils-dev@list.georgialibraries.org Date: Tuesday, December 2, 2008, 8:27 AM Hi Scott

[OPEN-ILS-DEV] buffer_chomp()

2008-12-01 Thread Scott McKellar
The other day I noticed the new buffer_chomp function. It removes the last character of a growing_buffer, and returns the new length. (I suppose it's too late to rename this struct a shrinking_buffer.) I propose that instead of returning the new length, the function return the character