Commit a8a60b29 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

startup: warn about a strange character size only in the UTF-8 case

This addresses https://savannah.gnu.org/bugs/?50897

.
Reported-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -2011,9 +2011,11 @@ int main(int argc, char **argv)
textdomain(PACKAGE);
#endif
#ifdef ENABLE_UTF8
if (MB_CUR_MAX > MAXCHARLEN)
fprintf(stderr, "Unexpected large character size: %i bytes"
" -- please report a bug\n", (int)MB_CUR_MAX);
#endif
#if defined(DISABLE_NANORC) && defined(DISABLE_ROOTWRAPPING)
/* If we don't have rcfile support, --disable-wrapping-as-root is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment