]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: In language Shell, avoid a crash.
authorBruno Haible <bruno@clisp.org>
Tue, 14 Mar 2023 02:19:59 +0000 (03:19 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 14 Mar 2023 02:19:59 +0000 (03:19 +0100)
commitf1b2a62f9b48019d60ddd1693a9bc6e5529772fa
tree21bcc5ac7a022728007e6c9aa1293609108defed
parentbb57c7637a04ce5f980c71cb42b1b5ef089a3a0f
xgettext: In language Shell, avoid a crash.

* gettext-tools/src/x-sh.c (phase1_pushback): Increase size by 1.
* gettext-tools/tests/xgettext-sh-8: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add it.
gettext-tools/src/x-sh.c
gettext-tools/tests/Makefile.am
gettext-tools/tests/xgettext-sh-8 [new file with mode: 0755]