Skip to content

Commit ef39fd6

Browse files
committed
locale.c: Change name of macro
This is in preparation for the next commit where it will be split out to be a stand-alone macro.
1 parent 5b9aabc commit ef39fd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

locale.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10096,7 +10096,7 @@ Perl_mem_collxfrm_(pTHX_ const char *input_string,
1009610096
/* Store the collation id */
1009710097
*(PERL_UINTMAX_T *)xbuf = PL_collation_ix;
1009810098

10099-
# define CLEANUP_STRXFRM_COMMON \
10099+
# define CLEANUP_NON_STRXFRM \
1010010100
STMT_START { \
1010110101
Safefree(free_me); \
1010210102
Safefree(sans_nuls); \
@@ -10119,7 +10119,7 @@ Perl_mem_collxfrm_(pTHX_ const char *input_string,
1011910119
STMT_START { \
1012010120
if (constructed_locale != (locale_t) 0) \
1012110121
freelocale(constructed_locale); \
10122-
CLEANUP_STRXFRM_COMMON; \
10122+
CLEANUP_NON_STRXFRM; \
1012310123
} STMT_END
1012410124
# else
1012510125
# define my_strxfrm(dest, src, n) strxfrm(dest, src, n)
@@ -10130,10 +10130,10 @@ Perl_mem_collxfrm_(pTHX_ const char *input_string,
1013010130
# define CLEANUP_STRXFRM \
1013110131
STMT_START { \
1013210132
restore_toggled_locale_c(LC_CTYPE, orig_CTYPE_locale); \
10133-
CLEANUP_STRXFRM_COMMON; \
10133+
CLEANUP_NON_STRXFRM; \
1013410134
} STMT_END
1013510135
# else
10136-
# define CLEANUP_STRXFRM CLEANUP_STRXFRM_COMMON
10136+
# define CLEANUP_STRXFRM CLEANUP_NON_STRXFRM
1013710137
# endif
1013810138
# endif
1013910139

0 commit comments

Comments
 (0)