]> git.ipfire.org Git - thirdparty/gettext.git/commit
intl: Remove use of alloca() for wdirname handling.
authorBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 18:03:47 +0000 (20:03 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 22:36:55 +0000 (00:36 +0200)
commit6be678fd31c4127c858fea41c94cf1b5d8ea55ae
treec53854df1dff839f3dbf6a799243e87313d5e593
parent4ea8901fd70f45365213e86101a14bf93540b198
intl: Remove use of alloca() for wdirname handling.

* autogen.sh (GNULIB_MODULES_LIBINTL): Add wgetcwd-lgpl.
* gettext-runtime/intl/dcigettext.c: Include <wchar.h>.
(DCIGETTEXT): Allocate resolved_wdirname through malloc() instead of through
alloca().
autogen.sh
gettext-runtime/intl/dcigettext.c