diff options
author | Karl Williamson <khw@cpan.org> | 2019-10-13 00:35:43 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-10-13 12:05:52 -0700 |
commit | f87d8789b924d2fac04671d98d5db10eee8da45e (patch) | |
tree | e8c46b929445e73852644bf7ae514cd212194370 /utf8.h | |
parent | eeef80ee5baf3bfa9bcd89b3a8d2f536461f8bc2 (diff) | |
download | perl-f87d8789b924d2fac04671d98d5db10eee8da45e.tar.gz |
Fix UTF8_CHK_SKIP()
I forgot an arg in a macro it calls.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -583,7 +583,8 @@ L</C<UTF8_SAFE_SKIP>>, for example when interfacing with a C library. */ #define UTF8_CHK_SKIP(s) \ - (s[0] == '\0' ? 1 : MIN(my_strnlen((char *) (s), UTF8SKIP(s)))) + (s[0] == '\0' ? 1 : MIN(UTF8SKIP(s), \ + my_strnlen((char *) (s), UTF8SKIP(s)))) /* =for apidoc Am|STRLEN|UTF8_SAFE_SKIP|char* s|char* e |