From: Gurusamy Sarathy Date: Sun, 23 Jan 2000 13:12:31 +0000 (+0000) Subject: system('VAR123=foo cmd') wasn't invoking shell (de-locale-ized patch X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c170e44434bb886b016236f0a6101610697565c5;p=p5sagit%2Fp5-mst-13.2.git system('VAR123=foo cmd') wasn't invoking shell (de-locale-ized patch suggested by Dominic Dunlop ) p4raw-id: //depot/perl@4864 --- diff --git a/doio.c b/doio.c index 08264a9..3e412b8 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;