summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-lib-cedit.menu
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mc/files/patch-lib-cedit.menu')
-rw-r--r--misc/mc/files/patch-lib-cedit.menu11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/mc/files/patch-lib-cedit.menu b/misc/mc/files/patch-lib-cedit.menu
new file mode 100644
index 000000000000..b4f221ea93d5
--- /dev/null
+++ b/misc/mc/files/patch-lib-cedit.menu
@@ -0,0 +1,11 @@
+--- lib/cedit.menu.orig Sun Aug 25 00:39:08 2002
++++ lib/cedit.menu Tue Jun 15 03:15:09 2004
+@@ -449,7 +449,7 @@
+
+ m view `man'
+ MAN=%{Enter name of man:}
+- TMPFILE=/tmp/mcview.$MAN.$$
++ TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/mcview.$MAN.$$` || exit 1
+ man -Pcat $MAN >$TMPFILE
+ mcview $TMPFILE
+ rm -f $TMPFILE