public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Fixup linux ttyname and ttyname_r [BZ #22145]
@ 2017-11-08 18:01 Luke Shumaker
  2017-11-08 18:01 ` [PATCH v3 6/6] linux ttyname and ttyname_r: Add tests Luke Shumaker
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Luke Shumaker @ 2017-11-08 18:01 UTC (permalink / raw)
  To: libc-alpha; +Cc: christian.brauner

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.

The FSF should have my copyright assignment paperwork on file (though
I never received a confirmation from them that everything was in
order).

v2:
 - See individual commit messages
v3:
 - Revise commit messages
 - Revise ChangeLog messages
 - Split one of the commits in to 2 separate commits
 - Fix style of comments (no "*" on continued lines, 2 spaces after
   trailing period)
 - Fix whitespace style in the definition of is_mytty

Luke Shumaker (6):
  manual: Update to mention ENODEV for ttyname and ttyname_r
  linux ttyname: Update a reference to kernel docs for kernel 4.10
  linux ttyname: Change return type of is_pty from int to bool
  linux ttyname and ttyname_r: Make the TTY equivalence checks
    consistent
  linux ttyname and ttyname_r: Don't bail prematurely [BZ #22145]
  linux ttyname and ttyname_r: Add tests

 ChangeLog                             |  26 ++
 manual/terminal.texi                  |   5 +
 sysdeps/unix/sysv/linux/Makefile      |   3 +-
 sysdeps/unix/sysv/linux/tst-ttyname.c | 582 ++++++++++++++++++++++++++++++++++
 sysdeps/unix/sysv/linux/ttyname.c     |  59 ++--
 sysdeps/unix/sysv/linux/ttyname.h     |  17 +-
 sysdeps/unix/sysv/linux/ttyname_r.c   |  61 ++--
 7 files changed, 671 insertions(+), 82 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/tst-ttyname.c

-- 
2.15.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-11-10 20:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-08 18:01 [PATCH v3 0/6] Fixup linux ttyname and ttyname_r [BZ #22145] Luke Shumaker
2017-11-08 18:01 ` [PATCH v3 6/6] linux ttyname and ttyname_r: Add tests Luke Shumaker
2017-11-08 18:01 ` [PATCH v3 2/6] linux ttyname: Update a reference to kernel docs for kernel 4.10 Luke Shumaker
2017-11-08 18:01 ` [PATCH v3 3/6] linux ttyname: Change return type of is_pty from int to bool Luke Shumaker
2017-11-08 18:01 ` [PATCH v3 1/6] manual: Update to mention ENODEV for ttyname and ttyname_r Luke Shumaker
2017-11-08 18:09 ` [PATCH v3 4/6] linux ttyname and ttyname_r: Make the TTY equivalence checks consistent Luke Shumaker
2017-11-08 18:09 ` [PATCH v3 5/6] linux ttyname and ttyname_r: Don't bail prematurely [BZ #22145] Luke Shumaker
2017-11-09  2:18   ` [PATCH v4 1/1] linux ttyname and ttyname_r: Add tests Luke Shumaker
2017-11-09 16:24     ` [PATCH v5 " Luke Shumaker
2017-11-10 16:06 ` [PATCH v3 0/6] Fixup linux ttyname and ttyname_r [BZ #22145] Christian Brauner
2017-11-10 20:01   ` Luke Shumaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).