[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/23910 (libcurses: bug in redraw()?)
The following reply was made to PR lib/23910; it has been noted by GNATS.
From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
Subject: Re: lib/23910 (libcurses: bug in redraw()?)
Date: Sun, 11 Nov 2018 14:45:02 +0300
On Sat, Nov 10, 2018 at 05:41:27 +0300, Valery Ushakov wrote:
> PS: It looks like ncurses initscr() just exits when newterm fails and
> so programs don't check its retrun value. So when netbsd curses
> returns NULL the program happily proceeds with calling more curses
> functions and crash. E.g. try TERM=xxx vifm
Hmm, actually, X/Open Curses spec says
If errors occur, initscr() writes an appropriate error message to
standard error and exits.
So this is bug in our curses.
Main Index |
Thread Index |