[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] Comment on c612c3607b183ae654d6c920c729de5444fdb899 (comm
[Bug-readline] Comment on c612c3607b183ae654d6c920c729de5444fdb899 (commit readline-20190906)
Mon, 16 Sep 2019 14:44:59 +0200
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
first of all, thanks for pushing my changes into devel.
I am a bit unhappy with the wording "TGETENT_BROKEN" and "It's not clear
how HPUX is so broken here." Initially, I shared the same view, but when
looking into the POSIX definition of tgetent(2) and (tgetflag) by the
Open Group , it says:
> Routines that return an integer return ERR upon failure and an
integer value other than ERR upon successful completion.
Similar is documented on the manpage  for the BSD implementation.
Unfortunately, I cannot find on FreeBSD and HP-UX macros for ERR and OK
For my point of view, HP-UX is not broken, but it simply has another
internal definition of ERR and OK. One can also invert this
argumentation and say that GNU termcap or BSD termcap are broken because
the HP-UX implementation might predate both.
From a technical POV, the code does exactly what is expected now, though.
- [Bug-readline] Comment on c612c3607b183ae654d6c920c729de5444fdb899 (commit readline-20190906),
Osipov, Michael <=