summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-src-background.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mc/files/patch-src-background.c')
-rw-r--r--misc/mc/files/patch-src-background.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/misc/mc/files/patch-src-background.c b/misc/mc/files/patch-src-background.c
deleted file mode 100644
index 95e20450fdbe..000000000000
--- a/misc/mc/files/patch-src-background.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/background.c.orig Sat Sep 28 12:10:29 2002
-+++ src/background.c Tue Jun 15 03:17:55 2004
-@@ -142,7 +142,7 @@
- close (1);
- close (2);
-
-- if ((nullfd = open ("/dev/null", O_RDONLY)) != -1){
-+ if ((nullfd = open ("/dev/null", O_RDWR)) != -1){
- while (dup2 (nullfd, 0) == -1 && errno == EINTR)
- ;
- while (dup2 (nullfd, 1) == -1 && errno == EINTR)