INN commit: trunk (CONTRIBUTORS frontends/mailpost.in)

INN Commit Russ_Allbery at isc.org
Fri Apr 25 20:32:56 UTC 2008


    Date: Friday, April 25, 2008 @ 13:32:56
  Author: iulius
Revision: 7789

Fix a bug when mailpost either couldn't find the pathtmp directory or
couldn't write to it.
Thanks, Nick Couchman, for having reported the bug.

Modified:
  trunk/CONTRIBUTORS
  trunk/frontends/mailpost.in

-----------------------+
 CONTRIBUTORS          |    2 +-
 frontends/mailpost.in |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

Modified: CONTRIBUTORS
===================================================================
--- CONTRIBUTORS	2008-04-25 20:18:24 UTC (rev 7788)
+++ CONTRIBUTORS	2008-04-25 20:32:56 UTC (rev 7789)
@@ -266,4 +266,4 @@
 Chris Caputo, Thomas Parleman, Adam J. Richter, Jim Dutton, Julien Elie,
 Ray Miller, Andreas M. Kirchwitz, Andrey Yakovlev, Christoph Biedl,
 Kai Gallasch, Ollivier Robert, Ivan Shmakov, Kachun Lee, Kirill Berezin,
-D. Stussy, Alan Schwartz, Shalon Wood
+D. Stussy, Alan Schwartz, Shalon Wood, Nick Couchman

Modified: frontends/mailpost.in
===================================================================
--- frontends/mailpost.in	2008-04-25 20:18:24 UTC (rev 7788)
+++ frontends/mailpost.in	2008-04-25 20:32:56 UTC (rev 7789)
@@ -345,8 +345,8 @@
 
 my $lockfile = sprintf("%s.lock", $Database);
 
-open LOCKFILE, "<$lockfile" || 
-    open LOCKFILE, ">$lockfile" ||
+open (LOCKFILE, "<$lockfile") || 
+    open (LOCKFILE, ">$lockfile") ||
     mailArtAndDie ("can't open $lockfile: $!") ;
 
 my $i ;
@@ -388,8 +388,8 @@
   }
   sleep $opt_c ;
 
-  open LOCKFILE, "<$lockfile" || 
-    open LOCKFILE, ">$lockfile" ||
+  open (LOCKFILE, "<$lockfile") || 
+    open (LOCKFILE, ">$lockfile") ||
       mailArtAndDie ("can't open $lockfile: $!") ;
 
   my $i ;



More information about the inn-committers mailing list