This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12167] ttyname() and ttyname_r() may return wrong value
- From: "miklos at szeredi dot hu" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 28 Oct 2010 12:51:26 +0000
- Subject: [Bug libc/12167] ttyname() and ttyname_r() may return wrong value
- Auto-submitted: auto-generated
- References: <bug-12167-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12167
--- Comment #1 from Miklos Szeredi <miklos at szeredi dot hu> 2010-10-28 12:51:15 UTC ---
Created attachment 5093
--> http://sourceware.org/bugzilla/attachment.cgi?id=5093
Remove code duplication between ttyname_r and ttyname
ttyname can be implemented by allocating a static buffer and calling ttyname_r.
This removes much code duplication.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.