NetBSD-Bugs archive

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

Re: lib/60995: libedit: allocate display rows on demand



If you think this is a good idea, I can spend more time working out a solution, which will undoubtedly add more complexity. Honestly the application is already cooked if they cannot allocate more memory at this point, and often it's easier to restart it then to keep running. But if that's what it takes to optimize the memory usage I can do it. The memory savings can be huge.

On Thu, Nov 12, 2026 at 1:55 PM Christos Zoulas via gnats <gnats-admin%netbsd.org@localhost> wrote:
The following reply was made to PR lib/60995; it has been noted by GNATS.

From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: lib-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/60995: libedit: allocate display rows on demand
Date: Thu, 12 Nov 2026 16:49:38 -0500

 Yes, but the error handling leaves a lot to be desired. You abort() and =
 exit() which makes applications fragile.

 christos=



Home | Main Index | Thread Index | Old Index