Bug 6945 - 6.1 ncurses tgetstr() has a bad incompatability problem
Summary: 6.1 ncurses tgetstr() has a bad incompatability problem
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ncurses
Version: 6.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-11-12 07:55 UTC by Chris Siebenmann
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-11-12 18:12:16 UTC

Attachments (Terms of Use)

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.

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