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);