* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.

(child_info::old_title): Delete.
(child_info::~child_info_spawn): Remove recording of old_title.
* dcrt0.cc (title_buf): Delete.
(child_info_spawn::handle_spawn): Remove recording of old_title.
(dll_crt0_1): Get rid of all title handling.
(do_exit): Ditto.
* environ.cc (known): Delete strip_title and title.
* fhandler_console.cc (fhandler_console::write): Remove recording of old_title.
* globals.cc (exit_states): Remove ES_TITLE.
(display_title): Delete.
(strip_title_path): Delete.
(old_title): Delete.
* spawn.cc (spawn_guts): Remove old_title accommodation.
This commit is contained in:
Christopher Faylor
2011-06-09 21:20:27 +00:00
parent e254790b66
commit b6510ccdcd
7 changed files with 20 additions and 47 deletions

View File

@ -2000,11 +2000,7 @@ fhandler_console::write (const void *vsrc, size_t len)
if (*src < ' ')
{
if (*src == '\007' && dev_state.state_ == gettitle)
{
if (old_title)
strcpy (old_title, dev_state.my_title_buf);
set_console_title (dev_state.my_title_buf);
}
set_console_title (dev_state.my_title_buf);
dev_state.state_ = normal;
}
else if (n < TITLESIZE)