freebsd-ports/misc/mc/files/patch-lib-cedit.menu
Max Khon 694ecd186a - Fix CAN-2004-0226, CAN-2004-0231, CAN-2004-0232.
- Do not use :: in patch file names.
- Patch for CAN-2003-1023 is now contained in patch-vfs-direntry.c.
- Bump PORTREVISION.

Submitted by:	Jakub Jelinek <jakub@redhat.com>
2004-06-14 20:56:00 +00:00

11 lines
360 B
Text

--- 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