]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
linux ttyname: Update a reference to kernel docs for kernel 4.10
authorLuke Shumaker <lukeshu@parabola.nu>
Wed, 15 Nov 2017 19:31:32 +0000 (20:31 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 22 Dec 2017 14:23:41 +0000 (15:23 +0100)
Linux 4.10 moved many of the documentation files around.

4.10 came out between the time the patch adding the comment (commit
15e9a4f378c8607c2ae1aa465436af4321db0e23) was submitted and the time
it was applied (in February, January, and March 2017; respectively).

Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
(cherry picked from commit 9b5a87502d048905c383b65c51768f4a1db8c685)

ChangeLog
sysdeps/unix/sysv/linux/ttyname.h

index 56b25337fb7f6bb1b39438eee12a30a93c7fd02a..1fb584ae20787cc3a9cc6aa3f5fee66613f97e2a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-15  Luke Shumaker  <lukeshu@parabola.nu>
+
+       * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
+
 2017-11-15  Luke Shumaker  <lukeshu@parabola.nu>
 
        * manual/terminal.texi (Is It a Terminal):
index 2e415e4e9cce567c472b83b7f43442988a96ed4f..cbcdbab6079ad48bda9c8448b0621f3cd8f82d81 100644 (file)
@@ -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)
 {