This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A libio patch for egcs 1.0.2
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: A libio patch for egcs 1.0.2
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 17 Feb 1998 21:59:04 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <m0y4e8L-00058fC@ocean.lucon.org>you write:
> Hi,
>
> Here is a libio patch for egcs 1.0.2 to fix the getline bug. We have
> to keep _IO_getline since it is an internal function of the
> shared glibc.
>
> Mon Feb 16 10:36:26 1998 H.J. Lu (hjl@gnu.org)
>
> * config/linux.mt (IO_OBJECTS): Add iogetline.o.
> * config/linuxlibc1.mt: Ditto.
>
> * iogetline.c (_IO_getline_info): Renamed from _IO_getline.
> (_IO_getline): Just call _IO_getline_info.
>
> * isgetline.cc (istream::getline, istream::get, _sb_readline):
> Call _IO_getline_info instead of _IO_getline and get the EOF
> information.
> * sbgetline.cc (streambuf::sgetline): Ditto.
>
> * libioP.h (_IO_getline_info): New declaration.
>
> Fri Feb 13 23:14:49 1998 Per Bothner <bothner@cygnus.com>
>
> * iogetline.c (_IO_getline): Handle the case when there is no
> buffer.
I have installed this on both the release branch and in the mainline
sources.
Thanks,
jeff