Red Hat Bugzilla – Bug 35122
tf history behaves differently when compiled with gcc-2.96
Last modified: 2007-04-18 12:32:35 EDT
The command line history of "tf" (MUD/MUCK client) behaves differently
when compiled with RH7's gcc. To reproduce:
wget -nd http://ftp.tcp.com/pub/mud/Clients/tinyfugue/tf-40s1.tar.gz
tar xzf tf-40s1.tar.gz
(type: foo 1 (enter)(ctrl-p) foo 2 (enter)(ctrl-p) foo 3 (enter)(ctrl-p))
The history jumps back to foo 1 with every ctrl-p.
After "export CC=kgcc" and recompiling the history goes back to the
previously entered string, which is the correct behaviour. So this seems
to be a compiler problem with gcc-2.96-69 (and -79) to me.
Will be fixed in gcc-2.96-82, Bernd Schmidt fixed this in CVS gcc some time