Temp file patches

Leonard den Ottolander leonard at den.ottolander.nl
Wed Jul 7 14:50:29 UTC 2004


Hi Jakub,

> --- mc.000/lib/cedit.menu       2003-08-03 01:01:51.000000000 +0200
> +++ mc/lib/cedit.menu   2004-07-07 14:49:44.000000000 +0200
> @@ -454,7 +454,7 @@ s       Invoke `shell'
> 
>  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
> 
> This is not correct, should be
> mktemp ${MC_TMPDIR:-/tmp}/mcview.$MAN.XXXXXX

Ok. That should also be fixed in the jumbo patch then (and SUSE's
security-fixes patch).

I haven't taken a look at RHEL 2.1 yet. Can I expect any patches/hunks
there that are not in Fedora/RHEL 3 or CVS?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





More information about the mc-devel mailing list