This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/5] Fixup linux ttyname and ttyname_r [BZ #22145]
- From: Luke Shumaker <lukeshu at parabola dot nu>
- To: libc-alpha at sourceware dot org
- Cc: christian dot brauner at mailbox dot org
- Date: Wed, 11 Oct 2017 23:53:16 -0400
- Subject: [PATCH 0/5] Fixup linux ttyname and ttyname_r [BZ #22145]
- Authentication-results: sourceware.org; auth=none
The theme of this patchset is to fixup the changes made in 15e9a4f.
Fix a bug [BZ #22145] introduced in the commit (and add tests for both
the bug it fixed and the bug it introduced!), update documentation to
reflect the behavior introduced in the commit.
I am in the process of submitting the FSF copyright assignment
paperwork.
Luke Shumaker (5):
manual: Update to mention ENODEV for ttyname and ttyname_r
linux ttyname: Update a reference to kernel docs for kernel 4.10
linux ttyname and ttyname_r: Add tests
linux ttyname and ttyname_r: Make the TTY equivalence tests consistent
linux ttyname and ttyname_r: Fix namespace check
ChangeLog | 20 +++
manual/terminal.texi | 5 +
sysdeps/unix/sysv/linux/Makefile | 2 +-
sysdeps/unix/sysv/linux/tst-ttyname.c | 325 ++++++++++++++++++++++++++++++++++
sysdeps/unix/sysv/linux/ttyname.c | 59 +++---
sysdeps/unix/sysv/linux/ttyname.h | 15 +-
sysdeps/unix/sysv/linux/ttyname_r.c | 61 +++----
7 files changed, 406 insertions(+), 81 deletions(-)
create mode 100644 sysdeps/unix/sysv/linux/tst-ttyname.c
--
Happy hacking,
~ Luke Shumaker