summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2009-12-03 10:20:09 +0100
committerRafael Garcia-Suarez <rgs@consttype.org>2009-12-03 10:23:04 +0100
commitc9930541bfa04399c3b648e83c9b750cee1154fb (patch)
tree891dbbfc5884b81d1b3f8c731870a2fa53ee7e63 /doio.c
parentc2123ae380a372d506d1b6938667bd785fd8728b (diff)
downloadperl-c9930541bfa04399c3b648e83c9b750cee1154fb.tar.gz
[perl #70802] -i'*' refuses to work
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index cd470c486b..168c10e4ed 100644
--- a/doio.c
+++ b/doio.c
@@ -764,7 +764,7 @@ Perl_nextargv(pTHX_ register GV *gv)
do_close(gv,FALSE);
continue;
}
- if (*PL_inplace) {
+ if (*PL_inplace && strNE(PL_inplace, "*")) {
const char *star = strchr(PL_inplace, '*');
if (star) {
const char *begin = PL_inplace;