--- old/y.tab.c 2009-12-30 18:52:02.000000000 +0100 +++ y.tab.c 2011-02-11 12:36:45.682266575 +0100 @@ -7481,7 +7481,10 @@ decode_prompt_string (string) { t = strrchr (t_string, '/'); if (t) - strcpy (t_string, t + 1); + /* strcpy: If copying takes place between objects that overlap, + the behavior is undefined. + strcpy (t_string, t + 1); so changed to: */ + memmove (t_string; t + 1, strlen (t)); } } #undef ROOT_PATH