Author: guillem
Date: 2006-05-25 20:15:04 +0000 (Thu, 25 May 2006)
New Revision: 345

Modified:
   trunk/ChangeLog
   trunk/debian/changelog
   trunk/scripts/install-info.pl
Log:
Properly check and report lock file existence in install-info.
Based on patch by Ben Pfaff. Closes: #368874


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2006-05-24 13:45:29 UTC (rev 344)
+++ trunk/ChangeLog     2006-05-25 20:15:04 UTC (rev 345)
@@ -1,3 +1,7 @@
+2006-05-25  Ben Pfaff  <[EMAIL PROTECTED]>
+
+       * scripts/install-info.pl: Use %! instead if $! to check for EEXIST.
+
 2006-05-23  Guillem Jover  <[EMAIL PROTECTED]>
 
        * scripts/controllib.pl (parsechangelog): Do not strip the epoch from

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2006-05-24 13:45:29 UTC (rev 344)
+++ trunk/debian/changelog      2006-05-25 20:15:04 UTC (rev 345)
@@ -62,6 +62,8 @@
     for most of the scripts. Print the usage and version to stdout.
   * Do not strip the epoch from the source:Upstream-Version substvar.
     Closes: #366351
+  * Properly check and report lock file existence in install-info.
+    Based on patch by Ben Pfaff. Closes: #368874
 
   [ Updated dpkg Translations ]
   * Portuguese (Miguel Figueiredo).

Modified: trunk/scripts/install-info.pl
===================================================================
--- trunk/scripts/install-info.pl       2006-05-24 13:45:29 UTC (rev 344)
+++ trunk/scripts/install-info.pl       2006-05-25 20:15:04 UTC (rev 345)
@@ -306,7 +306,7 @@
     printf( STDERR _g("%s: failed to lock dir for editing! %s")."\n",
            $name, $! );
     printf( STDERR _g("try deleting %s?")."\n", "$dirfile.lock")
-       if $! == EEXIST;
+       if $!{EEXIST};
 }
 
 open(OLD,$dirfile) || &ulquit(sprintf(_g("open %s: %s"), $dirfile, $!));


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to