mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 9b5a87502d048905c383b65c51768f4a1db8c685 Mon Sep 17 00:00:00 2001
|
|
From: Luke Shumaker <lukeshu@parabola.nu>
|
|
Date: Wed, 15 Nov 2017 20:31:32 +0100
|
|
Subject: [PATCH 2/6] linux ttyname: Update a reference to kernel docs for
|
|
kernel 4.10
|
|
|
|
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>
|
|
---
|
|
ChangeLog | 2 ++
|
|
sysdeps/unix/sysv/linux/ttyname.h | 3 ++-
|
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/sysdeps/unix/sysv/linux/ttyname.h b/sysdeps/unix/sysv/linux/ttyname.h
|
|
index 2e415e4e9c..cbcdbab607 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.1
|