Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-06-10 01:20:27 +0400
committerChristopher Faylor <me@cgf.cx>2011-06-10 01:20:27 +0400
commitb6510ccdcddaa82e379a3f3305902b5741c1eaa6 (patch)
tree46be139a1b49b001cda09c9e6b4816abb9cb9abd /winsup/cygwin/fhandler_console.cc
parente254790b666ea95285d0338e252f30fdbc556196 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 4d37c0d06..5082da316 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -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)