summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-23 13:12:31 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-23 13:12:31 +0000
commitc170e44434bb886b016236f0a6101610697565c5 (patch)
treec2c1f76685f4617a5fddcac0bb125d734d6e04c9 /doio.c
parent9845ecbab7c8b0b3a042e639703fe83f2d5b91a7 (diff)
downloadperl-c170e44434bb886b016236f0a6101610697565c5.tar.gz
system('VAR123=foo cmd') wasn't invoking shell (de-locale-ized patch
suggested by Dominic Dunlop <domo@computer.org>) p4raw-id: //depot/perl@4864
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 08264a93fa..3e412b8c2f 100644
--- a/doio.c
+++ b/doio.c
@@ -1257,7 +1257,7 @@ Perl_do_exec3(pTHX_ char *cmd, int fd, int do_report)
if (strnEQ(cmd,"exec",4) && isSPACE(cmd[4]))
goto doshell;
- for (s = cmd; *s && isALPHA(*s); s++) ; /* catch VAR=val gizmo */
+ for (s = cmd; *s && isALNUM(*s); s++) ; /* catch VAR=val gizmo */
if (*s == '=')
goto doshell;