projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
841d7a3
)
Fix for the charnames.t failures from Spider Boardman.
Jarkko Hietaniemi [Fri, 15 Sep 2000 03:11:44 +0000 (
03:11
+0000)]
p4raw-id: //depot/perl@7093
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
9821201
..
783f282
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-1489,6
+1489,7
@@
S_scan_const(pTHX_ char *start)
char *ostart = SvPVX(sv);
SvCUR_set(sv, d - ostart);
SvPOK_on(sv);
+ *d = '\0';
sv_utf8_upgrade(sv);
/* this just broke our allocation above... */
SvGROW(sv, send - start);