aboutsummaryrefslogtreecommitdiff
path: root/misc/mc/files
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2010-02-06 21:29:55 +0000
committerMax Khon <fjoe@FreeBSD.org>2010-02-06 21:29:55 +0000
commit8a2400862ae04393095ed10183bf8947593966fa (patch)
tree8765e82e29a5773e744b207fb925316eb17be7c0 /misc/mc/files
parent14fb0a97f57efc412bdcc4571db24b0a1fa17eb4 (diff)
downloadports-8a2400862ae04393095ed10183bf8947593966fa.tar.gz
ports-8a2400862ae04393095ed10183bf8947593966fa.zip
Notes
Diffstat (limited to 'misc/mc/files')
-rw-r--r--misc/mc/files/patch-src-subshell.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/mc/files/patch-src-subshell.c b/misc/mc/files/patch-src-subshell.c
new file mode 100644
index 000000000000..bfe50b284abe
--- /dev/null
+++ b/misc/mc/files/patch-src-subshell.c
@@ -0,0 +1,11 @@
+--- src/subshell.c.orig 2010-02-06 15:34:55.000000000 +0600
++++ src/subshell.c 2010-02-06 15:35:52.000000000 +0600
+@@ -948,7 +948,7 @@
+ wptr = fail_on_error ? &wtime : NULL;
+
+ while (1) {
+- if (!subshell_alive)
++ if (!subshell_alive || !pty_buffer)
+ return FALSE;
+
+ /* Prepare the file-descriptor set and call `select' */