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 | 27b6932acce5784447b88b319e38cf1538114ee0 (patch) | |
tree | 216bfd8a69dc8b932be9ff38f75c403cb03e79e6 /toke.c | |
parent | a1ad24fddcc33f1d3916b9425b1641753f9b7ed0 (diff) | |
download | perl-27b6932acce5784447b88b319e38cf1538114ee0.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--; |