projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
213329d
)
#!perl -F...
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Fri, 9 Nov 2001 14:32:28 +0000
(15:32 +0100)
committer
Abhijit Menon-Sen
<ams@wiw.org>
Fri, 9 Nov 2001 13:40:26 +0000
(13:40 +0000)
Message-Id: <
20011109143228
.A18996@rafael>
p4raw-id: //depot/perl@12912
perl.c
patch
|
blob
|
history
diff --git
a/perl.c
b/perl.c
index
292b56b
..
2c16f91
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-2189,8
+2189,10
@@
Perl_moreswitches(pTHX_ char *s)
return s;
case 'F':
PL_minus_F = TRUE;
- PL_splitstr = savepv(s + 1);
- s += strlen(s);
+ PL_splitstr = ++s;
+ while (*s && !isSPACE(*s)) ++s;
+ *s = '\0';
+ PL_splitstr = savepv(PL_splitstr);
return s;
case 'a':
PL_minus_a = TRUE;