[PATCH][BZ #14516] Don't make ttyname fail if procfs is unavailable

Siddhesh Poyarekar siddhesh@redhat.com
Fri Aug 24 14:36:00 GMT 2012


Ugh, sorry, I forgot to make an analogous change to ttyname_r. Here's
an updated patch with it. I have the testsuite running right now. OK to
commit if there are no regressions?

Regards,
Siddhesh

ChangeLog:

	[BZ #14516]
	* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
	failure if reading from procfs failed.
	* sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-ttyname-2.patch
Type: text/x-patch
Size: 2064 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120824/5dbec550/attachment.bin>


More information about the Libc-alpha mailing list