> 2010-01-31 Bruno Haible
>
> Work around getline() bug on FreeBSD 8.0.
> * m4/getline.m4 (gl_FUNC_GETLINE): Also test result for a NULL buffer
> and a non-zero size.
> * tests/test-getline.c (main): Likewise.
> * doc/posix-functions/getline.texi: Mention the FreeB
Eric Blake wrote:
> FreeBSD is buggy. Rewording the POSIX requirement slightly: if lineptr is
> NULL, then it is irrelevant that linecapp is non-zero.
I agree.
> Gnulib needs to work around this portability flaw, and guarantee a working
> getline implementation even on fBSD, at which point, your
[adding bug-gnulib, as the source of tar's getline replacement]
According to noordsij on 1/21/2010 6:37 AM:
> Dear GNU tar maintainer(s) / fBSD gtar port maintainer(s),
>
> The problem appears to be a difference in getline() behaviour in the fBSD
> and GNU libc.
>
> fBSD: The
> caller may p