]> Savannah Git Hosting - gnulib.git/commit
mbchar: Reduce size of 'struct mbchar'.
authorBruno Haible <bruno@clisp.org>
Mon, 17 Jul 2023 17:11:38 +0000 (19:11 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 17 Jul 2023 17:11:38 +0000 (19:11 +0200)
commit49d66352f71f4eeba3169a56862ee041e124a136
tree30b4eda318f85f862ede00a2d13af41275674ba0
parentd261ea8b1965471c3a26ea957f6a441318f6d68c
mbchar: Reduce size of 'struct mbchar'.

* modules/mbfile (configure.ac): Define GNULIB_MBFILE as an indicator.
* lib/mbchar.h (MBCHAR_BUF_SIZE): Set to 4.
(struct mbchar): Disable member 'buf' if the module 'mbfile' is not in
use.
ChangeLog
lib/mbchar.h
modules/mbfile