summaryrefslogtreecommitdiffstats
path: root/sys-apps/kbd/files/kbd-1.13-dont-use-error.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
commit576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch)
tree7d54883f16cccc4cbd414398d7fec3c437b36b49 /sys-apps/kbd/files/kbd-1.13-dont-use-error.patch
parentfdd6b67a78a966f6a2131de8fe0e539316511083 (diff)
downloaddarklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip
Cleaned most of outdated stuff
Diffstat (limited to 'sys-apps/kbd/files/kbd-1.13-dont-use-error.patch')
-rw-r--r--sys-apps/kbd/files/kbd-1.13-dont-use-error.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys-apps/kbd/files/kbd-1.13-dont-use-error.patch b/sys-apps/kbd/files/kbd-1.13-dont-use-error.patch
deleted file mode 100644
index d8e0bb1..0000000
--- a/sys-apps/kbd/files/kbd-1.13-dont-use-error.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-dont use GNU-specific function error()
-
---- openvt/openvt.c
-+++ openvt/openvt.c
-@@ -107,8 +107,10 @@
-
- for (i=0; i<3; i++) {
- struct stat st;
-- if (fstat(i, &st) == -1 && open("/dev/null", O_RDWR) == -1)
-- error(EXIT_FAILURE, errno, "open");
-+ if (fstat(i, &st) == -1 && open("/dev/null", O_RDWR) == -1) {
-+ perror("open(/dev/null/) failed");
-+ return EXIT_FAILURE;
-+ }
- }
-
- consfd = getfd(NULL);