[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] getline & getline_safe
From: |
Derek Robert Price |
Subject: |
Re: [Bug-gnulib] getline & getline_safe |
Date: |
Thu, 17 Jul 2003 16:16:24 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
Derek Robert Price wrote:
In any case, I was almost done with a very similar solution to yours
when I got your email, so I merged my changes, carried through some of
yours, and fixed a few bugs in my original patch which also existed in
yours (I checked my version into CVS last night and it went out to be
tested on some dozen platforms with mixed results - at this point, at
least most of the bugs should have been fixed though not all platforms
have checked in for the second time).
I also installed getndelim2 as a separate module since Jim Meyering
requested it.
Oh, I also switched limit to be a limit on the number of characters to
read rather than the amount of memory to allocate. It is easy enough
for the caller to determine limit from linesize if her intentions are to
limit memory and this way there are never any bytes thrown away.
Limiting the number of bytes read also simplified getndelim2() considerably.
Derek
--
*8^)
Email: address@hidden
Get CVS support at <http://ximbiot.com>!
--
He who dies with the most toys, is, nonetheless, still dead.
- Re: [Bug-gnulib] getline & getline_safe, (continued)
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/15
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/15
- Re: [Bug-gnulib] getline & getline_safe, Paul Eggert, 2003/07/15
- 01-getnline.diff (was Re: [Bug-gnulib] getline & getline_safe), Derek Robert Price, 2003/07/16
- Re: 01-getnline.diff (was Re: [Bug-gnulib] getline & getline_safe), Steve McIntyre, 2003/07/16
- Re: 01-getnline.diff (was Re: [Bug-gnulib] getline & getline_safe), Derek Robert Price, 2003/07/16
- [Bug-gnulib] Re: 01-getnline.diff, Jim Meyering, 2003/07/17
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/17
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/17
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/17
- Re: [Bug-gnulib] getline & getline_safe,
Derek Robert Price <=
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/18
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/18
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/18
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/18
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/24
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/24
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/24
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/25
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/28
- Re: [Bug-gnulib] getline & getline_safe, Jim Meyering, 2003/07/28