projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6f14944
)
This should have been part of #7872: no need to scan UTF-8
Jarkko Hietaniemi [Wed, 29 Nov 2000 03:06:30 +0000 (
03:06
+0000)]
until eternity.
p4raw-id: //depot/perl@7911
utf8.c
patch
|
blob
|
blame
|
history
diff --git
a/utf8.c
b/utf8.c
index
3bbfdf1
..
48c772d
100644
(file)
--- a/
utf8.c
+++ b/
utf8.c
@@
-350,7
+350,7
@@
returned and retlen is set, if possible, to -1.
UV
Perl_utf8_to_uv_simple(pTHX_ U8* s, STRLEN* retlen)
{
- return Perl_utf8_to_uv(aTHX_ s, (STRLEN)-1, retlen, 0);
+ return Perl_utf8_to_uv(aTHX_ s, UTF8_MAXLEN, retlen, 0);
}
/*