* fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup

for child, not for parent.
This commit is contained in:
Corinna Vinschen 2005-01-13 20:10:04 +00:00
parent bfe069a3b0
commit 9b8e782e11
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup
for child, not for parent.
2005-01-13 Christopher Faylor <cgf@timesys.com>
* init.cc (dll_entry): Nuke attempt to set exit code since parent will

View File

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