]> andersk Git - openssh.git/commitdiff
- (bal) fixpaths fixed to stop it from quitely failing. Patch by
authormouring <mouring>
Wed, 8 Nov 2000 01:07:51 +0000 (01:07 +0000)
committermouring <mouring>
Wed, 8 Nov 2000 01:07:51 +0000 (01:07 +0000)
   Mark D. Roth <roth@feep.net>

ChangeLog
fixpaths

index 89da6a5cc5abbfcda37280a43f3e7f8629df507d..3ab6086da3917f0cefca2ed22a1d8015b6501753 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
 20001107
- - (bal) acconfig.in - removed the double "USE_PIPES" entry.
+ - (bal) acconfig.in - removed the double "USE_PIPES" entry. Patch by
+   Mark Miller <markm@swoon.net>
  - (bal) sshd.init files corrected to assign $? to RETVAL.  Patch by
    Jarno Huuskonen <jhuuskon@messi.uku.fi>
+ - (bal) fixpaths fixed to stop it from quitely failing. Patch by
+   Mark D. Roth <roth@feep.net>
 
 20001106
  - (djm) Use Jim's new 1.0.3 askpass in Redhat RPMs
index 4badd98866616ceee9cdb09651dc0670bc5b3ba1..edd9e486f17e119c0f18af96096da413c6cfb7c7 100755 (executable)
--- a/fixpaths
+++ b/fixpaths
@@ -37,14 +37,13 @@ for $f (@ARGV) {
   $of = $2.".$ext"; 
 
   open(IN, "<$f")          || die ("$0: input file $f missing!\n");
-  if (open(OUT, ">$of")) {
-    while (<IN>) {
-      for $s (keys(%def)) {
-       s#$s#$def{$s}#;
-      } # for $s
-      print OUT;
-    } # while <IN>
-  } # if (outfile open)
+  open(OUT, ">$of")        || die ("$0: cannot create output file $of: $!\n");
+  while (<IN>) {
+    for $s (keys(%def)) {
+      s#$s#$def{$s}#;
+    } # for $s
+    print OUT;
+  } # while <IN>
 } # for $f
 
 exit 0;
This page took 0.130522 seconds and 5 git commands to generate.