[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnulib] Re: getline
From: |
Simon Josefsson |
Subject: |
[bug-gnulib] Re: getline |
Date: |
Sun, 26 Dec 2004 03:49:37 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Paul Eggert <address@hidden> writes:
> Simon Josefsson <address@hidden> writes:
>
>> Comments on the glibc patch below? I didn't compile the code, if
>> someone have more patience with glibc builds to test it, that would
>> be useful.
>
> Wow, you were more ambitious that I thought were going to be. I
> assumed that you'd just slide getndelim2 into glibc as a hidden
> function, and rewrite getdelim and getline to use it, without any real
> performance hit (perhaps using conditional compilation to achieve this
> feat). Perhaps I didn't think things through carefully enough?
>
> I doubt whether it's worth making getndelim2 a full-fledged glibc
> function. It's fairly specialized. It's used only by "cut".
Do you think it is worthwhile to proceed with the full-fledged glibc
function approach?
If not, let's forget that patch, and I'll write another one more in
line with what I now understand was your original intention; to make
glibc use getndelim2 internally for getline and getdelim.
I'm not exactly sure what you mean by conditional compilation, though.
Conditional compilation of what? Conditioned on what?
Since I have now made gsasl use getline, I'd like to try to get a LGPL
getline into gnulib ASAP, so I can release gsasl.
Thanks.
- [bug-gnulib] getline, Simon Josefsson, 2004/12/01
- Re: [bug-gnulib] getline, Paul Eggert, 2004/12/01
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/01
- Re: [bug-gnulib] Re: getline, Paul Eggert, 2004/12/02
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/02
- Re: [bug-gnulib] Re: getline, Paul Eggert, 2004/12/02
- [bug-gnulib] Re: getline,
Simon Josefsson <=
- [bug-gnulib] Re: getline, Paul Eggert, 2004/12/25
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/26
- [bug-gnulib] Re: getline, Paul Eggert, 2004/12/27
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/27