Bug 6945

Summary: 6.1 ncurses tgetstr() has a bad incompatability problem
Product: [Retired] Red Hat Linux Reporter: Chris Siebenmann <cks-rhbugzilla>
Component: ncursesAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-11-12 18:12:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Siebenmann 1999-11-12 07:55:11 UTC
tgetstr() violates its specification in an egregarious
way, as covered in bug #6944. The version of tgetstr()
that one gets by linking with -lncurses (alone) breaks
in exactly the same way that the -ltermcap version does
(possibly it is the same version, but they are different
RPM packages, built from different source RPMs, and ldd
shows no cross-dependancies).

 All of my comments in bug #6944 apply equally to the
ncurses version of tgetstr().

Comment 1 Bernhard Rosenkraenzer 1999-11-12 18:12:59 UTC
Which documentation states tgetstr() should accept this? (The man page in
ncurses definitely doesn't).
The changelog of the libtermcap package actually documents the change as a
bugfix, so I believe your code is relying on some other-OS specific function.
"Fixing" it is a matter of removing one patch, so if you can convince me that
it's the right thing to do, it can be done quickly.