projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
77524eb
)
Don't assume that %x is good for displaying UVs.
Jarkko Hietaniemi [Fri, 5 Oct 2001 13:54:08 +0000 (13:54 +0000)]
p4raw-id: //depot/perl@12341
dump.c
patch
|
blob
|
blame
|
history
diff --git
a/dump.c
b/dump.c
index
3d24ccb
..
59bd532
100644
(file)
--- a/
dump.c
+++ b/
dump.c
@@
-156,7
+156,7
@@
Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim)
break;
}
u = utf8_to_uvchr((U8*)s, 0);
- Perl_sv_catpvf(aTHX_ dsv, "\\x{%x}", u);
+ Perl_sv_catpvf(aTHX_ dsv, "\\x{%"UVxf"}", u);
}
sv_catpvn(dsv, "\"", 1);
if (truncated)