]> git.ipfire.org Git - thirdparty/gettext.git/commit
Silence "may write a terminating nul past the end of the destination" warnings.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Jun 2023 23:30:00 +0000 (01:30 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Jun 2023 13:54:10 +0000 (15:54 +0200)
commitf192f2ab2268f45fb13a0fbda2629db8b93898de
tree8b09437ef58ebd51b3652c51c8a12b6b917ecef9
parent02fb97b0c8586246dd08a88a16ae5e00850e2c76
Silence "may write a terminating nul past the end of the destination" warnings.

* gettext-tools/src/write-po.c (message_print_comment_filepos): Increase size of
buffer by 1.
* gettext-tools/src/xg-encoding.c (non_ascii_error_message,
non_utf8_error_message): Likewise.
* gettext-tools/src/xg-message.c (set_format_flags_from_context,
warn_format_string, remember_a_message): Likewise.
gettext-tools/src/write-po.c
gettext-tools/src/xg-encoding.c
gettext-tools/src/xg-message.c