Re: why is MB_LEN_MAX so large (16) on glibc

2015-05-14 Thread Pádraig Brady
On 14/05/15 01:30, Bruno Haible wrote: [CCing bug-gnulib to share the understanding about i18n issues] Pádraig Brady wrote on 13.05.2015: MB_LEN_MAX was changed from 6 to 16 with: https://sourceware.org/git/?p=glibc.git;a=commit;f=include/limits.h;h=d64b6ad075 Do you know why the value 16

Re: why is MB_LEN_MAX so large (16) on glibc

2015-05-13 Thread Paul Eggert
Bruno Haible wrote: for a long time the declaration of a local variable char buf[MB_CUR_MAX]; required GCC or C++ It still does, right? Since C11 no longer requires support for variable length arrays.

Re: why is MB_LEN_MAX so large (16) on glibc

2015-05-13 Thread Bruno Haible
[CCing bug-gnulib to share the understanding about i18n issues] Pádraig Brady wrote on 13.05.2015: MB_LEN_MAX was changed from 6 to 16 with: https://sourceware.org/git/?p=glibc.git;a=commit;f=include/limits.h;h=d64b6ad075 Do you know why the value 16 is used exactly? This was motivated either