This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 2/5] linux ttyname: Update a reference to kernel docs for kernel 4.10
- 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:18 -0400
- Subject: [PATCH 2/5] linux ttyname: Update a reference to kernel docs for kernel 4.10
- Authentication-results: sourceware.org; auth=none
- References: <20171012035321.22094-1-lukeshu@parabola.nu>
Linux 4.10 moved many of the documentation files around.
It came out between the time the patch adding the comment (commit
15e9a4f3) was submitted and the time it was applied (in February,
January, and March 2017; respectively).
---
ChangeLog | 2 ++
sysdeps/unix/sysv/linux/ttyname.h | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index cc036f7b88..029c2a265a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2017-10-11 Luke Shumaker <lukeshu@parabola.nu>
+ * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
+
* manual/terminal.texi: Mention ENODEV for ttyname and ttyname_r.
2017-10-10 Joseph Myers <joseph@codesourcery.com>
diff --git a/sysdeps/unix/sysv/linux/ttyname.h b/sysdeps/unix/sysv/linux/ttyname.h
index 2e415e4e9c..dd7873d1ff 100644
--- a/sysdeps/unix/sysv/linux/ttyname.h
+++ b/sysdeps/unix/sysv/linux/ttyname.h
@@ -21,7 +21,8 @@
#include <sys/stat.h>
/* Return true if this is a UNIX98 pty device, as defined in
- linux/Documentation/devices.txt. */
+ linux/Documentation/devices.txt (on linux < 4.10) or
+ linux/Documentation/admin-guide/devices.txt (on linux >= 4.10). */
static inline int
is_pty (struct stat64 *sb)
{
--
2.14.2