From e506ee736ce4b32d7eff028affb3b436b14590a7 Mon Sep 17 00:00:00 2001 From: mouring Date: Wed, 8 Nov 2000 01:07:51 +0000 Subject: [PATCH] - (bal) fixpaths fixed to stop it from quitely failing. Patch by Mark D. Roth --- ChangeLog | 5 ++++- fixpaths | 15 +++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89da6a5c..3ab6086d 100644 --- 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 - (bal) sshd.init files corrected to assign $? to RETVAL. Patch by Jarno Huuskonen + - (bal) fixpaths fixed to stop it from quitely failing. Patch by + Mark D. Roth 20001106 - (djm) Use Jim's new 1.0.3 askpass in Redhat RPMs diff --git a/fixpaths b/fixpaths index 4badd988..edd9e486 100755 --- 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 () { - for $s (keys(%def)) { - s#$s#$def{$s}#; - } # for $s - print OUT; - } # while - } # if (outfile open) + open(OUT, ">$of") || die ("$0: cannot create output file $of: $!\n"); + while () { + for $s (keys(%def)) { + s#$s#$def{$s}#; + } # for $s + print OUT; + } # while } # for $f exit 0; -- 2.45.2