]> git.ipfire.org Git - thirdparty/gettext.git/commit
msgfmt: Supersede, not overwrite, the output file of type '.mo'.
authorBruno Haible <bruno@clisp.org>
Sun, 5 Jul 2020 21:44:41 +0000 (23:44 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 5 Jul 2020 22:40:01 +0000 (00:40 +0200)
commita361def05435e95d22725faf49d1bf5aa7c85414
tree7ff4ff694b0da9ee31b52e5fac00ca8f23753bf9
parentf8a344e8f6c73649631dc93d6a0e7fcf10420586
msgfmt: Supersede, not overwrite, the output file of type '.mo'.

* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add 'supersede'.
* gettext-tools/src/write-mo.c: Include supersede.h.
(msgdomain_write_mo): When writing to a file, use fopen_supersede and
fwriteerror_supersede.
* NEWS: Mention the change.
NEWS
autogen.sh
gettext-tools/src/write-mo.c