This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2080] dead code in libio/iogetwline.c?
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Dec 2005 09:40:00 -0000
- Subject: [Bug libc/2080] dead code in libio/iogetwline.c?
- References: <20051221104619.2080.heiko.nardmann@secunet.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From aj at suse dot de 2005-12-30 09:40 -------
libio/iogetline.c has the following code:
if (extract_delim > 0)
*ptr++ = c;
else if (extract_delim < 0)
INTUSE(_IO_sputbackc) (fp, c);
if (extract_delim > 0)
++len;
return ptr - buf;
I think the return is misplaced, iogetline was patch at one time to move the
return to the correct place.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2080
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.