public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5454] New: ether_line() behaviour is different than the BSD one
@ 2007-12-07  0:13 aurelien at aurel32 dot net
  2007-12-07 16:50 ` [Bug libc/5454] " drepper at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: aurelien at aurel32 dot net @ 2007-12-07  0:13 UTC (permalink / raw)
  To: glibc-bugs

The ether_line() function in the glibc only stops the parsing of the first 
argument when it finds a '\0' char, and not when it finds '\n' char. 

This differs from the BSD implementation which stops on both '\0' and '\n'  
(tested on OpenBSD, FreeBSD and NetBSD). Note that this function is originally 
a BSD function, so it is important to have the same behaviour.

-- 
           Summary: ether_line() behaviour is different than the BSD one
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: aurelien at aurel32 dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=5454

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/5454] ether_line() behaviour is different than the BSD one
  2007-12-07  0:13 [Bug libc/5454] New: ether_line() behaviour is different than the BSD one aurelien at aurel32 dot net
@ 2007-12-07 16:50 ` drepper at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2007-12-07 16:50 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-12-07 16:49 -------
Changed in cvs.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5454

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-07 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-07  0:13 [Bug libc/5454] New: ether_line() behaviour is different than the BSD one aurelien at aurel32 dot net
2007-12-07 16:50 ` [Bug libc/5454] " drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).