* dtable.cc (set_std_handle): Call SetStdHandle with NULL if fd is closed.
(dtable::release): "Close" standard handle if appropriate. * dcrt0.cc (dll_crt0_0): Fix minor switch formatting problem. * fork.cc (frok::parent): Make minor comment indentation change.
This commit is contained in:
@@ -744,13 +744,13 @@ dll_crt0_0 ()
|
||||
cygwin_user_h = child_proc_info->user_h;
|
||||
switch (child_proc_info->type)
|
||||
{
|
||||
case _CH_FORK:
|
||||
fork_info->handle_fork ();
|
||||
break;
|
||||
case _CH_SPAWN:
|
||||
case _CH_EXEC:
|
||||
spawn_info->handle_spawn ();
|
||||
break;
|
||||
case _CH_FORK:
|
||||
fork_info->handle_fork ();
|
||||
break;
|
||||
case _CH_SPAWN:
|
||||
case _CH_EXEC:
|
||||
spawn_info->handle_spawn ();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user