Bug 35122 - tf history behaves differently when compiled with gcc-2.96
tf history behaves differently when compiled with gcc-2.96
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-04-07 08:59 EDT by Hanno Foest
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-04-09 07:50:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Hanno Foest 2001-04-07 08:59:05 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
cd tf-40s1
./unixmake install
(y)
bin/tf -n
(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.
Comment 1 Jakub Jelinek 2001-04-09 07:50:19 EDT
Will be fixed in gcc-2.96-82, Bernd Schmidt fixed this in CVS gcc some time
ago.

Note You need to log in before you can comment on or make changes to this bug.