From 9b8e782e11e7073a97af47a74f8e7816becdc5da Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 13 Jan 2005 20:10:04 +0000 Subject: [PATCH] * fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup for child, not for parent. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_serial.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 31413a86b..4002c942b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-01-13 Corinna Vinschen + + * fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup + for child, not for parent. + 2005-01-13 Christopher Faylor * init.cc (dll_entry): Nuke attempt to set exit code since parent will diff --git a/winsup/cygwin/fhandler_serial.cc b/winsup/cygwin/fhandler_serial.cc index 0616ff126..d0b225f66 100644 --- a/winsup/cygwin/fhandler_serial.cc +++ b/winsup/cygwin/fhandler_serial.cc @@ -1056,7 +1056,7 @@ int fhandler_serial::dup (fhandler_base *child) { fhandler_serial *fhc = (fhandler_serial *) child; - overlapped_setup (); + fhc->overlapped_setup (); fhc->vmin_ = vmin_; fhc->vtime_ = vtime_; return fhandler_base::dup (child);