[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: 01-getnline.diff
From: |
Jim Meyering |
Subject: |
[Bug-gnulib] Re: 01-getnline.diff |
Date: |
Thu, 17 Jul 2003 10:25:46 +0200 |
Derek Robert Price <address@hidden> wrote:
...
> Incidentally, my glibc defines both getdelim & getline to return
> ssize_t. Is it intentional that the GNULIB versions return int
> instead?
It looks like getline's `int' return type in gnulib is purely historical.
It dates back to the earliest revision I have, from textutils-1.12 (1995).
I see no reason for such a limitation. ssize_t makes more sense.
FWIW, I too needed getdelim2 for coreutils, and moved it into a
separate file there. If you do something similar for gnulib before
I get to it, that'd be great.
- [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/15
- Re: [Bug-gnulib] getline & getline_safe, Paul Eggert, 2003/07/15
- 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 <=
- 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, 2003/07/17
- 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