From 576b6208d6defe240bfa2477d6dd19f1ed83bfaf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 2 Sep 2019 05:23:45 +0200 Subject: Cleaned most of outdated stuff --- sys-apps/kbd/files/kbd-1.13-dont-use-error.patch | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 sys-apps/kbd/files/kbd-1.13-dont-use-error.patch (limited to 'sys-apps/kbd/files/kbd-1.13-dont-use-error.patch') 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); -- cgit v1.2.3