NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gdb 15.2 or 16.1



On Tue, Dec 17, 2024 at 12:03:23AM +0000, Vitaly Shevtsov wrote:
> 
> It seems there is something wrong with getmaxx() from /usr/lib/libcurses.so.9
> 

There is nothing wrong with getmaxx. This is sloppy coding by the gdb developers. They are getting
away with it because ncurses is returning ERR when passed a NULL win pointer whereas NetBSD does not.
It looks like we are going to have to check the win pointer for NULL for every call that has that
parameter.  It is a waste of cycles to cover for lazy coding but unless we do it we will see more of
these issues crop up in future.

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Home | Main Index | Thread Index | Old Index