diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-15 15:37:36 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-15 15:37:36 +0000 |
commit | 52327cafe6c445fb33a7b02ad4bf3a6d10bae0de (patch) | |
tree | 216bfd8a69dc8b932be9ff38f75c403cb03e79e6 /toke.c | |
parent | 21c74f43bb8a4eac1af459c973ca694bf54dde7b (diff) | |
download | perl-52327cafe6c445fb33a7b02ad4bf3a6d10bae0de.tar.gz |
Integrate from maint:
[ 20724]
No peeking before the buffer.
(This was probably the random failure showing up
in Solaris with t/uni/tr_7jis.t)
p4raw-link: @20724 on //depot/maint-5.8/perl: bc636a03071ec9785e0be7bacbc34e6f3ee1225c
p4raw-id: //depot/perl@20725
p4raw-integrated: from //depot/maint-5.8/perl@20721 'merge in' toke.c
(@20522..)
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6996,7 +6996,7 @@ S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims) goto read_more_line; else { /* handle quoted delimiters */ - if (*(svlast-1) == '\\') { + if (SvCUR(sv) > 1 && *(svlast-1) == '\\') { char *t; for (t = svlast-2; t >= SvPVX(sv) && *t == '\\';) t--; |