]> git.ipfire.org Git - thirdparty/gettext.git/commit
term-ostream: Prepare for robustness through signal handling.
authorBruno Haible <bruno@clisp.org>
Sun, 10 Feb 2019 02:01:13 +0000 (03:01 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 10 Feb 2019 19:41:04 +0000 (20:41 +0100)
commit6acda690d965a138e714d798d45e37ff807326ed
tree98c4d85eb9d3d0bb8c0b0fb7aa65fe5ba4c0620a
parent21a3e1db7fc7bacc76f98769fc69f53f7f1042c7
term-ostream: Prepare for robustness through signal handling.

* gnulib-local/lib/term-ostream.oo.h (ttyctl_t): New type.
(term_ostream_create): Add tty_control argument.
* gnulib-local/lib/term-ostream.oo.c (term_ostream_create): Likewise.
* gnulib-local/lib/term-styled-ostream.oo.h: Include term-ostream.h.
(term_styled_ostream_create): Add tty_control argument.
* gnulib-local/lib/term-styled-ostream.oo.c (term_styled_ostream_create):
Likewise.
* gnulib-local/tests/test-term-ostream.c (main): Use TTYCTL_AUTO.
* gettext-tools/src/color.c (print_color_test): Likewise.
* gettext-tools/src/write-catalog.c (msgdomain_list_print): Likewise.
gettext-tools/src/color.c
gettext-tools/src/write-catalog.c
gnulib-local/lib/term-ostream.oo.c
gnulib-local/lib/term-ostream.oo.h
gnulib-local/lib/term-styled-ostream.oo.c
gnulib-local/lib/term-styled-ostream.oo.h
gnulib-local/tests/test-term-ostream.c