SOURCES: metamail-metasend_mktemp.patch (NEW) - use mktemp instead...

radek radek at pld-linux.org
Fri Sep 8 21:08:53 CEST 2006


Author: radek                        Date: Fri Sep  8 19:08:53 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use mktemp instead of tempfile (thanks to Jerome Auge)

---- Files affected:
SOURCES:
   metamail-metasend_mktemp.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/metamail-metasend_mktemp.patch
diff -u /dev/null SOURCES/metamail-metasend_mktemp.patch:1.1
--- /dev/null	Fri Sep  8 21:08:53 2006
+++ SOURCES/metamail-metasend_mktemp.patch	Fri Sep  8 21:08:47 2006
@@ -0,0 +1,12 @@
+--- src/bin/metasend.orig	2006-09-08 16:05:11.000000000 +0200
++++ src/bin/metasend	2006-09-08 16:08:52.000000000 +0200
+@@ -454,7 +454,7 @@
+ eval isentity${multipart}=$isentity
+ eval encodingprog${multipart}=\"\$encodingprog\"
+ 
+-fname=`tempfile -p metamail -m 600`
++fname=`mktemp -t metasend.XXXXXXX` || exit 1
+ echo "MIME-Version: 1.0" > $fname
+ 
+ if test ! -z "${to:-}"
+
================================================================


More information about the pld-cvs-commit mailing list