[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implement readlinebuffer_delim, generalizing readlinebuffer
From: |
Jim Meyering |
Subject: |
Re: Implement readlinebuffer_delim, generalizing readlinebuffer |
Date: |
Sat, 12 May 2007 18:03:06 +0200 |
"James Youngman" <address@hidden> wrote:
> On 5/12/07, Jim Meyering <address@hidden> wrote:
>> Thank you. The idea of this patch is a good one, but the patch has been
>> mangled somewhere along the way (wrapped lines, removed leading spaces),
>> so I haven't even tried to apply it and review in place.
>
> Sorry. I suspect this is due to the way that I just pasted it into a
> webmail client. Trying again as an attachment (with the required
> change).
>
> James.
>
> 2007-05-12 James Youngman <address@hidden>
>
> * lib/linebuffer.c (readlinebuffer_delim): Like
> readlinebuffer, but use the delimiter the caller
> specifies.
> (readlinebuffer): Just call readlinebuffer_delim with '\n'
> as the delimiter.
> * lib/linebuffer.h (readlinebuffer_delim): Declare it.
Thanks. I've checked that in, with some trivial syntactic changes:
wrap long lines and add 2007 to the list of copyright years in the .h file.