]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: In language Perl, avoid a crash.
authorBruno Haible <bruno@clisp.org>
Wed, 15 Mar 2023 21:47:47 +0000 (22:47 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Mar 2023 22:26:11 +0000 (23:26 +0100)
commiteea9d109d1eb81d5ea2e5e63848d9b123073a238
treef21dd23833a546d725e12677fa70f43485f72add
parentb49d82c60787d5d8549b352bbb73757f7f27ff0a
xgettext: In language Perl, avoid a crash.

* gettext-tools/src/xg-arglist-parser.c (arglist_parser_clone): Clone the
msgid_pos correctly.
* gettext-tools/tests/xgettext-perl-10: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add it.
gettext-tools/src/xg-arglist-parser.c
gettext-tools/tests/Makefile.am
gettext-tools/tests/xgettext-perl-10 [new file with mode: 0755]