This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] gdb/inflow.c: Move SIGTTOU temporary ignoring to a RAII class
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 16 Nov 2017 16:11:05 -0500
- Subject: [binutils-gdb] gdb/inflow.c: Move SIGTTOU temporary ignoring to a RAII class
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT e2c33ac745108550dcc2dc61d23378fb2fa9e911 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: e2c33ac745108550dcc2dc61d23378fb2fa9e911
gdb/inflow.c: Move SIGTTOU temporary ignoring to a RAII class
I expect to use this in more places (in inflow.c) in follow up
patches, but I think this is still good on its own.
gdb/ChangeLog:
2017-11-16 Pedro Alves <palves@redhat.com>
* inflow.c (scoped_ignore_sigttou): New class.
(child_terminal_ours_1, new_tty): Use it.