This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2080] New: dead code in libio/iogetwline.c?
- From: "heiko dot nardmann at secunet dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Dec 2005 10:46:19 -0000
- Subject: [Bug libc/2080] New: dead code in libio/iogetwline.c?
- Reply-to: sourceware-bugzilla at sourceware dot org
In libio/iogetwline.c I found the following code (lines 86 to 92:
if (extract_delim > 0)
*ptr++ = wc;
else if (extract_delim < 0)
INTUSE(_IO_sputbackc) (fp, wc);
return ptr - buf;
if (extract_delim > 0)
++len;
Are the last two lines dead code?
--
Summary: dead code in libio/iogetwline.c?
Product: glibc
Version: 2.3.6
Status: NEW
Severity: enhancement
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: heiko dot nardmann at secunet dot com
CC: glibc-bugs at sources dot redhat dot com
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.