summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/termios.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/termios.cc')
-rw-r--r--winsup/cygwin/termios.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/termios.cc b/winsup/cygwin/termios.cc
index e046984b6..c33054af5 100644
--- a/winsup/cygwin/termios.cc
+++ b/winsup/cygwin/termios.cc
@@ -23,6 +23,7 @@ details. */
#include "cygwin/version.h"
#include "perprocess.h"
#include "sigproc.h"
+#include "cygtls.h"
#include <sys/termios.h>
/* tcsendbreak: POSIX 7.2.2.1 */
@@ -146,7 +147,7 @@ tcsetattr (int fd, int a, const struct termios *t)
e = get_errno ();
break;
case bg_signalled:
- if (call_signal_handler_now ())
+ if (_my_tls.call_signal_handler ())
continue;
res = -1;
/* fall through intentionally */