[PATCH] Cygwin: console: Fix "Bad file descriptor" error in script command.

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Jan 20 09:50:43 GMT 2021


On Jan 20 18:16, Takashi Yano via Cygwin-patches wrote:
> - After the commit 72770148, script command exits occasionally with
>   the error "Bad file descriptor" if it is started in console on Win7
>   and non-cygwin process is executed. This patch fixes the issue.
> ---
>  winsup/cygwin/fhandler_console.cc | 10 ++--
>  winsup/cygwin/select.cc           | 95 ++++++++++++++++++++++++++++++-
>  winsup/cygwin/select.h            |  7 +++
>  3 files changed, 105 insertions(+), 7 deletions(-)

Pushed.


Thanks,
Corinna


More information about the Cygwin-patches mailing list