]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Perl: Fix bug with comment lines longer than 1024 (regr. 2024-09-26).
authorBruno Haible <bruno@clisp.org>
Mon, 7 Jul 2025 07:02:41 +0000 (09:02 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Jul 2025 07:02:41 +0000 (09:02 +0200)
commitf98de965a08d1883a46ba5411922b54cc5125f14
tree2a3c63601c763a80ba47f07850290409684767f2
parent8a76b0b1c925d8b490d7c77a1c840de9437bf2ca
xgettext: Perl: Fix bug with comment lines longer than 1024 (regr. 2024-09-26).

Reported by Alyssa Ross <hi@alyssa.is> in
<https://lists.gnu.org/archive/html/bug-gettext/2025-07/msg00009.html>.

* gettext-tools/src/x-perl.c (phase2_getc): Move the sb_free call until after
the savable_comment_add call.
gettext-tools/src/x-perl.c