]> git.ipfire.org Git - thirdparty/gettext.git/commit
gettext, ngettext: Fix the expansion of '\\' and octal escape sequences.
authorBruno Haible <bruno@clisp.org>
Mon, 19 Aug 2019 00:16:43 +0000 (02:16 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Apr 2020 11:08:01 +0000 (13:08 +0200)
commita8047e78a736022a8b0cc9ce316cbb3bbe247868
treeed9a59ae9e023ab9cb0774a8a4ce1c66f0b27e1e
parent39072866b27c2549c9b3e9e237ff80df5d296526
gettext, ngettext: Fix the expansion of '\\' and octal escape sequences.

* gettext-runtime/src/gettext.c (expand_escape): Don't swallow the expansion
of '\\' and octal escape sequences.
* gettext-runtime/src/ngettext.c (expand_escape): Likewise.
* gettext-tools/tests/tstgettext.c (expand_escape): Likewise.
* NEWS: Mention the change.
NEWS
gettext-runtime/src/gettext.c
gettext-runtime/src/ngettext.c
gettext-tools/tests/tstgettext.c