diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-21 04:53:49 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-21 04:53:49 +0000 |
commit | b0de2aa284ccb58f1c8f8e0a598701b51ab5b742 (patch) | |
tree | e9de21c89264e0f9987ab88dab845446c1b4bc45 /winsup/cygwin/fhandler_console.cc | |
parent | e9921bcbaa37b9c3df39ef1d8182d56a9db3cb11 (diff) | |
download | newlib-b0de2aa284ccb58f1c8f8e0a598701b51ab5b742.zip newlib-b0de2aa284ccb58f1c8f8e0a598701b51ab5b742.tar.gz newlib-b0de2aa284ccb58f1c8f8e0a598701b51ab5b742.tar.bz2 |
* fhandler.h (fhandler_console): Remove tcsetpgrp.
* fhandler_console.cc (fhandler_console::tcsetpgrp): Eliminate.
* fork.cc (fork_parent): Avoid returning same pid twice in a row regardless of
OS.
* pinfo.cc (pinfo::init): Rename create argument to flags and treat it as such.
* signal.cc (set_sigcatchers): New function.
(signal): Use set_sigcatchers to increment or decrement sigcatcher tracker.
(sigaction): Ditto. Add debugging output.
* spawn.cc (spawn_guts): Always quote first argv[0] argument when it's a
COMSPEC shell.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 4da619b..8a3343d 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -188,8 +188,8 @@ fhandler_console::read (void *pv, size_t buflen) if (!ReadConsoleInput (h, &input_rec, 1, &nread)) { - syscall_printf ("ReadConsoleInput failed, %E"); __seterrno (); + syscall_printf ("ReadConsoleInput failed, %E"); return -1; /* seems to be failure */ } @@ -252,13 +252,6 @@ fhandler_console::read (void *pv, size_t buflen) return copied_chars; } -int -fhandler_console::tcsetpgrp (pid_t pid) -{ - tc->pgid = pid; - return 0; -} - void fhandler_console::set_input_state () { |