]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
authorAkim Demaille <akim@epita.fr>
Tue, 9 Sep 2003 15:44:56 +0000 (15:44 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 9 Sep 2003 15:44:56 +0000 (15:44 +0000)
Reported by Gary Vaughan.
* bin/autom4te.in (handle_m4): Likewise.

ChangeLog
bin/autom4te.in
lib/Autom4te/FileUtils.pm

index 5fd78adde69cfba432c047147f8da38f6dd47110..3b5fb10fc224d6513bc3fd800c88da82e6d98dfb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-09  Akim Demaille  <akim@epita.fr>
+
+       * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
+       Reported by Gary Vaughan.
+       * bin/autom4te.in (handle_m4): Likewise.
+
 2003-09-09  Akim Demaille  <akim@epita.fr>
 
        * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
index fc6f7928616374ba8b88c4e0c9ba631d4e7e7fb2..664c7cd412dfb8b40a24d766d7097a5ddb4d9e59 100644 (file)
@@ -472,7 +472,7 @@ sub handle_m4 ($@)
     {
       use File::Copy;
       move ("${file}t", "$file")
-       or fatal "cannot not rename ${file}t as $file: $!";
+       or fatal "cannot rename ${file}t as $file: $!";
     }
 }
 
index d4e25bba615c042fc713c76ded567c3a586f0b08..0bb3b3b9e065884199fe8b0a1bdc39fa2017a615 100644 (file)
@@ -145,7 +145,7 @@ sub update_file ($$)
          print $out $_;
        }
       $in->close;
-      unlink ($from) || fatal "cannot not remove $from: $!";
+      unlink ($from) || fatal "cannot remove $from: $!";
       return;
     }
 
@@ -154,7 +154,7 @@ sub update_file ($$)
       # File didn't change, so don't update its mod time.
       msg 'note', "`$to' is unchanged";
       unlink ($from)
-        or fatal "cannot not remove $from: $!";
+        or fatal "cannot remove $from: $!";
       return
     }
 
@@ -162,15 +162,15 @@ sub update_file ($$)
     {
       # Back up and install the new one.
       move ("$to",  "$to$SIMPLE_BACKUP_SUFFIX")
-       or fatal "cannot not backup $to: $!";
+       or fatal "cannot backup $to: $!";
       move ("$from", "$to")
-       or fatal "cannot not rename $from as $to: $!";
+       or fatal "cannot rename $from as $to: $!";
       msg 'note', "`$to' is updated";
     }
   else
     {
       move ("$from", "$to")
-       or fatal "cannot not rename $from as $to: $!";
+       or fatal "cannot rename $from as $to: $!";
       msg 'note', "`$to' is created";
     }
 }