summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-11 17:01:47 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-11 17:01:47 +0000
commitd5d696321f9e1b87353b01d716da42f2c3275e5d (patch)
tree0ed7db8cb2f559ad67872f32e4f4bbd7b7466bce /os2
parentd7bc03f01f7e3506a9d9bfd0b13c189fd76b4aa6 (diff)
downloadperl-d5d696321f9e1b87353b01d716da42f2c3275e5d.tar.gz
off-by-one in os2.c (from Ilya Zakharevich)
p4raw-id: //depot/perl@5654
Diffstat (limited to 'os2')
-rw-r--r--os2/os2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os2/os2.c b/os2/os2.c
index 8a17ae714e..97e8899c35 100644
--- a/os2/os2.c
+++ b/os2/os2.c
@@ -777,7 +777,7 @@ U32 addflag;
long enough. */
a--;
}
- while (nargs-- >= 0)
+ while (--nargs >= 0)
PL_Argv[nargs] = argsp[nargs];
/* Enable pathless exec if #! (as pdksh). */
pass = (buf[0] == '#' ? 2 : 3);