diff options
author | Martin Schulze <joey@infodrom.org> | 2004-09-13 09:07:18 +0200 |
---|---|---|
committer | Andreas Beckmann <debian@abeckmann.de> | 2012-10-01 19:58:43 +0200 |
commit | ae03fe5d926a63cab418207f760d62a947957123 (patch) | |
tree | aa48cfe56ac7c47fb9b0abce4d4689033d3098d6 /debian/patches/8.12/8.12.3/dsa-expn.patch | |
parent | dd994db23cb7f88732be927fad3a7039bd6301db (diff) | |
download | sendmail-debian/8.12.3-7.1.tar.gz |
Imported Debian patch 8.12.3-7.1debian/8.12.3-7.1
Diffstat (limited to 'debian/patches/8.12/8.12.3/dsa-expn.patch')
-rw-r--r-- | debian/patches/8.12/8.12.3/dsa-expn.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/8.12/8.12.3/dsa-expn.patch b/debian/patches/8.12/8.12.3/dsa-expn.patch new file mode 100644 index 0000000..c24bfaa --- /dev/null +++ b/debian/patches/8.12/8.12.3/dsa-expn.patch @@ -0,0 +1,20 @@ +diff -u expn.old expn +--- expn.old Sat Apr 5 00:07:36 2003 ++++ ./sendmail-8.12.3/contrib/expn.pl Mon Apr 14 08:37:41 2003 +@@ -8,6 +8,7 @@ + + use 5.001; + use IO::Socket; ++use Fcntl; + + # system requirements: + # must have 'nslookup' and 'hostname' programs. +@@ -999,7 +1000,7 @@ + } + + $0 = "$av0 - nslookup of $server"; +- open(T,">/tmp/expn$$") || die "open > /tmp/expn$$: $!\n"; ++ sysopen(T,"/tmp/expn$$",O_RDWR|O_CREAT|O_EXCL,0600) || die "open > /tmp/expn$$: $!\n"; + print T "set querytype=MX\n"; + print T "$server\n"; + close(T); |