Skip to content

Commit f2b0b69

Browse files
committed
utf8.h: Change name of non-C-conforming macro
It shouldn't have a leading underscore; change to trailing
1 parent 1b81858 commit f2b0b69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utf8.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ Perl__utf8n_to_uvchr_msgs_helper(const U8 *s,
18241824
/* If we don't know for sure that the input length is
18251825
* valid, avoid as much as possible reading past the
18261826
* end of the buffer */
1827-
int printlen = (flags & _UTF8_NO_CONFIDENCE_IN_CURLEN)
1827+
int printlen = (flags & UTF8_NO_CONFIDENCE_IN_CURLEN_)
18281828
? (int) (s - s0)
18291829
: (int) (send - s0);
18301830
pack_warn = packWARN(WARN_UTF8);

utf8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ point's representation.
11911191
#define UTF8_WARN_FE_FF UTF8_WARN_PERL_EXTENDED
11921192

11931193
#define UTF8_CHECK_ONLY 0x8000
1194-
#define _UTF8_NO_CONFIDENCE_IN_CURLEN 0x10000 /* Internal core use only */
1194+
#define UTF8_NO_CONFIDENCE_IN_CURLEN_ 0x10000 /* Internal core use only */
11951195

11961196
/* For backwards source compatibility. They do nothing, as the default now
11971197
* includes what they used to mean. The first one's meaning was to allow the

0 commit comments

Comments
 (0)