diff options
author | James Meyer <james.meyer@operamail.com> | 2009-04-03 22:45:21 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-04-03 22:45:21 (GMT) |
commit | e7467efc34be8dfd5a191d77198d67c6ae1bfc7b (patch) | |
tree | 0939ec5c93b449b769289e8b6758641404885aa0 /abs/extra-testing/mc/mc-4.6.1-nonblock.patch | |
parent | 972d85587c4c79656fa2401c13eb3e4c9802e024 (diff) | |
download | linhes_pkgbuild-e7467efc34be8dfd5a191d77198d67c6ae1bfc7b.zip linhes_pkgbuild-e7467efc34be8dfd5a191d77198d67c6ae1bfc7b.tar.gz linhes_pkgbuild-e7467efc34be8dfd5a191d77198d67c6ae1bfc7b.tar.bz2 |
MC & slang: adding to repo.
Diffstat (limited to 'abs/extra-testing/mc/mc-4.6.1-nonblock.patch')
-rw-r--r-- | abs/extra-testing/mc/mc-4.6.1-nonblock.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra-testing/mc/mc-4.6.1-nonblock.patch b/abs/extra-testing/mc/mc-4.6.1-nonblock.patch new file mode 100644 index 0000000..eca34aa --- /dev/null +++ b/abs/extra-testing/mc/mc-4.6.1-nonblock.patch @@ -0,0 +1,11 @@ +--- mc-4.6.1/src/cons.saver.c.old 2006-04-30 20:45:11.725128977 +0200 ++++ mc-4.6.1/src/cons.saver.c 2006-04-30 20:45:55.545063247 +0200 +@@ -134,7 +134,7 @@ + + if (seteuid (uid) < 0) + die (); +- console_fd = open (tty_name, O_RDONLY); ++ console_fd = open (tty_name, O_RDONLY | O_NONBLOCK); + if (console_fd < 0) + die (); + if (fstat (console_fd, &st) < 0 || ! S_ISCHR (st.st_mode)) |