summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-19 23:33:24 +0200
committerDamien Miller <djm@mindrot.org>2000-04-19 23:33:24 +0200
commit3ef692aa05a4b0d94a114be0826d32d0c8f67f1b (patch)
tree2e62c93addf75958d4aeb0f06483da7017fe99b0
parent - OpenBSD CVS updates (diff)
downloadopenssh-3ef692aa05a4b0d94a114be0826d32d0c8f67f1b.tar.xz
openssh-3ef692aa05a4b0d94a114be0826d32d0c8f67f1b.zip
- Make fixpaths work with perl4, patch from Andre Lucas
<andre.lucas@dial.pipex.com>
-rw-r--r--ChangeLog4
-rwxr-xr-xfixpaths3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 73d7db372..a32d02954 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20000420
+ - Make fixpaths work with perl4, patch from Andre Lucas
+ <andre.lucas@dial.pipex.com>
+
20000419
- OpenBSD CVS updates
[channels.c]
diff --git a/fixpaths b/fixpaths
index e6f47c713..4badd9886 100755
--- a/fixpaths
+++ b/fixpaths
@@ -22,7 +22,8 @@ while ($_=$ARGV[0], /^-/) {
die ("$usage$0: error in command line arguments.\n");
}
} else {
- die ("$usage$0: unknown option '-".$ARGV[0][1]."'\n");
+ @cmd = split(//, $ARGV[0]); $opt = $cmd[1];
+ die ("$usage$0: unknown option '-$opt'\n");
}
} # while parsing arguments