Bug 6945 - 6.1 ncurses tgetstr() has a bad incompatability problem
6.1 ncurses tgetstr() has a bad incompatability problem
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: ncurses (Show other bugs)
6.1
All Linux
medium Severity high
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-12 02:55 EST by Chris Siebenmann
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-11-12 13:12:16 EST
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 Chris Siebenmann 1999-11-12 02:55:11 EST
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 13:12:59 EST
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.

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