nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Fixed regexec() memory leak


From: David Lawrence Ramsey
Subject: Re: [Nano-devel] Fixed regexec() memory leak
Date: Mon, 3 Nov 2003 09:54:00 -0800 (PST)

--- address@hidden wrote:
>I've fixed the regexec() memory leak in edit_add() by freeing and
>recompiling each regexp every 100 calls. The value can be changed in
>regexec_wrapper() at the bottom of color.c.
>
>The patch is at http://bespin.org/~qz/nano

I've applied both this and the updated version of your color patch to my
local builds for testing, and I'm looking them both over.  They look
good so far, but I need some time to make sure I fully understand them.

>My backspace key no longer works in 1.3.0's search field but ctrl-h
>does work. Is there a fix for this?

That's weird.  With the low-level input overhaul, the keys should work
the same way in (most, working toward all) areas.

I need to know a few more things before I can try to fix it, though. 
What OS and terminal type are you using when this happens?  Does
Backspace work properly everywhere else?  When you say the search field,
do you mean that it only fails to work at the search prompt but works at
other instances of the statusbar prompt?  When you say it doesn't work,
do you mean that it's completely nonfunctional?

Without knowing the answers to any of the above questions, the only
thing that occurs to me at the moment is that some of the global
shortcuts are still hooked up to the ncurses keypad values, and there's
some known trouble with the value for Backspace.  One of my patches
fixes this, among other things.  If you want to try it, just check out
the latest CVS and apply

http://pooka_regent.tripod.com/patches/nano/nanomouseinput-patch.txt

to it.  I have no idea whether it'll fix your problem, though.


_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]