* dtable.cc (dtable::init_std_file_from_handle): Set access to
read/write of handle is connected to a tty or console. * fhandler_dsp.cc (fhandler_dev_dsp::dup): Set open flags correctly after duplicating from archetype. * fhandler_tty.cc (fhandler_tty_slave::dup): Ditto. (fhandler_pty_master::dup): Ditto.
This commit is contained in:
@ -1131,6 +1131,7 @@ fhandler_dev_dsp::dup (fhandler_base * child)
|
||||
{
|
||||
debug_printf ("");
|
||||
child->archetype = archetype;
|
||||
child->set_flags (get_flags ());
|
||||
archetype->usecount++;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user