diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-23 13:12:31 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-23 13:12:31 +0000 |
commit | c170e44434bb886b016236f0a6101610697565c5 (patch) | |
tree | c2c1f76685f4617a5fddcac0bb125d734d6e04c9 /doio.c | |
parent | 9845ecbab7c8b0b3a042e639703fe83f2d5b91a7 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |