projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684f316
)
utf8.c: Change to warn_d in two places
author
Karl Williamson
<public@khwilliamson.com>
Mon, 10 Jan 2011 01:39:05 +0000
(18:39 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Mon, 10 Jan 2011 02:29:03 +0000
(19:29 -0700)
The routines that these call used the warn_d forms; so these should as well.
utf8.c
patch
|
blob
|
history
diff --git
a/utf8.c
b/utf8.c
index
605db15
..
3615fdd
100644
(file)
--- a/
utf8.c
+++ b/
utf8.c
@@
-766,13
+766,14
@@
returned and retlen is set, if possible, to -1.
=cut
*/
+
UV
Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
{
PERL_ARGS_ASSERT_UTF8_TO_UVCHR;
return utf8n_to_uvchr(s, UTF8_MAXBYTES, retlen,
- ckWARN(WARN_UTF8) ? 0 : UTF8_ALLOW_ANY);
+ ckWARN
_d
(WARN_UTF8) ? 0 : UTF8_ALLOW_ANY);
}
/*
@@
-798,7
+799,7
@@
Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
/* Call the low level routine asking for checks */
return Perl_utf8n_to_uvuni(aTHX_ s, UTF8_MAXBYTES, retlen,
- ckWARN(WARN_UTF8) ? 0 : UTF8_ALLOW_ANY);
+ ckWARN
_d
(WARN_UTF8) ? 0 : UTF8_ALLOW_ANY);
}
/*