This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v4] linux ttyname and ttyname_r: do not return wrong results
- From: Christian Brauner <christian dot brauner at canonical dot com>
- To: libc-alpha at sourceware dot org
- Cc: Christian Brauner <christian dot brauner at ubuntu dot com>
- Date: Fri, 27 Jan 2017 15:59:58 +0100
- Subject: [PATCH v4] linux ttyname and ttyname_r: do not return wrong results
- Authentication-results: sourceware.org; auth=none
Hi,
Last we've talked this patches was ready to merge. The only thing left to do was
to sign an FSF agreement. I did and it is fully processed. If you need to see a
PDF I can send it to a specific person privately per mail. I hope we're good to
go now. :)
I've taken over this patch from Serge who has been informed and is CCed on this
thread. There are no significant functional changes. As requested the following
this have been changed:
- remove obsolete comment in ttyname_r.c
- move is_pty() to common header file and mark as static inline
Christian
Christian Brauner (1):
linux ttyname and ttyname_r: do not return wrong results
ChangeLog | 12 ++++++++++++
sysdeps/unix/sysv/linux/ttyname.c | 16 ++++++++++++----
sysdeps/unix/sysv/linux/ttyname.h | 35 +++++++++++++++++++++++++++++++++++
sysdeps/unix/sysv/linux/ttyname_r.c | 17 +++++++++++++----
4 files changed, 72 insertions(+), 8 deletions(-)
create mode 100644 sysdeps/unix/sysv/linux/ttyname.h
--
2.11.0