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

Carlos O'Donell carlos@systemhalted.org
Sat Aug 25 15:43:00 GMT 2012


On Fri, Aug 24, 2012 at 10:35 AM, Siddhesh Poyarekar
<siddhesh@redhat.com> wrote:
> 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.

Still looks good to me.

Check it in on Tuesday if nobody objects.

I'd like to see if anyone else has any more comments about this.

Cheers,
Carlos.



More information about the Libc-alpha mailing list