[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: getline bug?
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] Re: getline bug? |
Date: |
Sun, 03 Oct 2004 13:04:00 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Paul Eggert <address@hidden> writes:
>> Finally a question: do the gnulib getline differ in any other way from
>> the glibc version? It seems gnulib's getline call a getndelim2 which
>> seem to be slightly different from getdelim, which is what glibc uses.
>> If the interface is different, that seems bad as well.
>
> Why would getline's users care how it's implemented?
I meant if the externally visible behavior was different. But after
reading the source some more, I can see that they are probably
equivalent.
>> Here's a proposed solution: Apply the following patch. Then
>> applications (coreutils?) that want the optimized getline version can
>> put AC_DEFINE(USE_UNLOCKED_IO, 1) in their configure.ac.
>
> This sort of thing should be done systematically, if it is done
> at all. I'd like Jim Meyering's opinion on it first, since he
> contributed the unlocked-io stuff.
Thanks,
Simon
- [Bug-gnulib] getline bug?, Simon Josefsson, 2004/10/02
- Re: [Bug-gnulib] getline bug?, Paul Eggert, 2004/10/03
- [Bug-gnulib] Re: getline bug?,
Simon Josefsson <=
- Re: [Bug-gnulib] getline bug?, Jim Meyering, 2004/10/03
- Re: [Bug-gnulib] getline bug?, Paul Eggert, 2004/10/04
- [Bug-gnulib] Re: getline bug?, Simon Josefsson, 2004/10/04
- Re: [Bug-gnulib] getline bug?, P, 2004/10/05
- Re: [Bug-gnulib] getline bug?, Paul Eggert, 2004/10/05
- [Bug-gnulib] Re: getline bug?, Simon Josefsson, 2004/10/05
- Re: [Bug-gnulib] getline bug?, Bruno Haible, 2004/10/05
- Re: [Bug-gnulib] getline bug?, P, 2004/10/05
- [Bug-gnulib] getpass problem (was: Re: getline bug?), Simon Josefsson, 2004/10/05
- [Bug-gnulib] Re: getpass problem, Paul Eggert, 2004/10/06