* external.cc (fillout_pinfo): If start_time is 0, wait a while before
returning the pinfo structure. * fhandler.cc (fhandler_base::open_setup): Convert from inline. * fhandler.h (fhandler_base::open_setup): Declare. * fhandler_console.cc (fhandler_console::open_setup): Always call fhandler_base::open_setup. * fhandler_tty.cc (fhandler_pty_slave::open_setup): Ditto. (fhandler_pty_master::open_setup): Ditto.
This commit is contained in:
@@ -562,6 +562,7 @@ fhandler_pty_slave::open_setup (int flags)
|
||||
set_flags ((flags & ~O_TEXT) | O_BINARY);
|
||||
myself->set_ctty (this, flags);
|
||||
report_tty_counts (this, "opened", "");
|
||||
fhandler_base::open_setup (flags);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1247,6 +1248,7 @@ fhandler_pty_master::open_setup (int flags)
|
||||
char buf[sizeof ("opened pty master for ptyNNNNNNNNNNN")];
|
||||
__small_sprintf (buf, "opened pty master for pty%d", get_minor ());
|
||||
report_tty_counts (this, buf, "");
|
||||
fhandler_base::open_setup (flags);
|
||||
}
|
||||
|
||||
off_t
|
||||
|
Reference in New Issue
Block a user