nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] undoing deletions at the tail of the file adds a line


From: Benno Schulenberg
Subject: Re: [Nano-devel] undoing deletions at the tail of the file adds a line
Date: Sat, 13 Jun 2015 15:52:02 +0200

On Sat, Jun 13, 2015, at 01:26, Mark Majeres wrote:
> As you've stated already, it's recursive.  My patch is releasing
> memory and your patch is eating it up ;)

Hm...  Yeah.  :|

> I revised my patch a little
> and created a function free_undo()... maybe it will be more appealing.

Still too many lines.  :)

Well... instead of deleting and freeing superfluous undos afterward,
how about not adding them in the first place?  Patch is attached.
Does it cover all the conditions?

Benno

-- 
http://www.fastmail.com - The way an email service should be

Attachment: dont-add-a-superfluous-undo.patch
Description: Text Data


reply via email to

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