Skip to content

Commit

Permalink
MB_CUR_MAX is C89, change comment accordingly
Browse files Browse the repository at this point in the history
Spotted by Tony Cook.
  • Loading branch information
khwilliamson committed Dec 22, 2023
1 parent 8803f8a commit a93c912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locale.c
Original file line number Diff line number Diff line change
Expand Up @@ -6597,7 +6597,7 @@ S_override_codeset_if_utf8_found(pTHX_ const char * codeset,
* this issue, but should the need arise, comments in S_is_locale_utf8()
* list some alternative C99 functions that could be tried.
*
* But MB_CUR_MAX is a C99 construct that helps a lot, is simple for a
* But MB_CUR_MAX is a C89 construct that helps a lot, is simple for a
* vendor to implement, and our experience with it is that it works well on
* a variety of platforms. We have found that it returns a too-large
* number on some platforms for the C locale, but for no others. That
Expand Down

0 comments on commit a93c912

Please sign in to comment.