Possible bug with MB_CUR_MAX
|Reported by:||miqlas||Owned by:||nobody|
|Has a Patch:||no||Platform:||x86-64|
As far as i can see, Haiku gets it from here: https://github.com/haiku/haiku/blob/b65adbdfbc322bb7d86d74049389c688e9962f15/src/system/libroot/posix/locale/ctype.cpp#L33-L40
IT seems this value not adjusted according the locale settings and returns always 1.
Termux defines it as 4 here: https://github.com/termux/termux-packages/commit/845a978a46710b19066f6393ec593e88706b1576
Maybe this is the culprit at this bug: https://github.com/fish-shell/fish-shell/issues/3646
This happens at least on 64 bit Haiku hrev52219, but i think every Haiku arch is affected.