diff options
author | Tony Cook <tony@develop-help.com> | 2016-10-12 10:42:47 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2017-06-14 14:33:04 +1000 |
commit | e80af1fd276d83858d27742ea887415e3263960b (patch) | |
tree | 8bf05617a6b1cc7fbc0ac69f746c083866b22ca5 /util.c | |
parent | 9604fbf0722bd97ca6031a263c50ad52b6633db7 (diff) | |
download | perl-e80af1fd276d83858d27742ea887415e3263960b.tar.gz |
(perl 129183) don't treat \ as an escape in PATH for -S
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3352,9 +3352,8 @@ Perl_find_script(pTHX_ const char *scriptname, bool dosearch, if (len < sizeof tmpbuf) tmpbuf[len] = '\0'; # else - s = delimcpy(tmpbuf, tmpbuf + sizeof tmpbuf, s, bufend, - ':', - &len); + s = delimcpy_no_escape(tmpbuf, tmpbuf + sizeof tmpbuf, s, bufend, + ':', &len); # endif if (s < bufend) s++; |