bug-gnulib
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]