diff options
Diffstat (limited to 'winsup/cygwin/termios.cc')
-rw-r--r-- | winsup/cygwin/termios.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/winsup/cygwin/termios.cc b/winsup/cygwin/termios.cc index 77a4e5bfe..e046984b6 100644 --- a/winsup/cygwin/termios.cc +++ b/winsup/cygwin/termios.cc @@ -119,8 +119,6 @@ tcsetattr (int fd, int a, const struct termios *t) while (1) { - sigframe thisframe (mainthread); - res = -1; cygheap_fdget cfd (fd); if (cfd < 0) @@ -148,7 +146,7 @@ tcsetattr (int fd, int a, const struct termios *t) e = get_errno (); break; case bg_signalled: - if (thisframe.call_signal_handler ()) + if (call_signal_handler_now ()) continue; res = -1; /* fall through intentionally */ |