[Top][All Lists]

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

Re: [Nano-devel] Strange one

From: David Benbennick
Subject: Re: [Nano-devel] Strange one
Date: Sun, 5 May 2002 22:46:09 -0400
User-agent: Mutt/1.2.5i

On Sun, May 05, 2002 at 09:22:00PM -0400, David Benbennick wrote:
> Here is a patch to fix the problem.  Generally, opening or inserting a
> file not ending in a blank line caused totsize to be off by one.  The
> important changes are the first two chunks.  The last chunk removes a
> bit of code that could never execute.

"not ending in a blank line" should read "not ending in a \n".  Also, the
patch I sent caused the totsize to be high by 1 sometimes.  Attached is a
better patch.

Attachment: 05-may.22:11.patch
Description: Text document

Attachment: pgpDFXNlXn3Hk.pgp
Description: PGP signature

reply via email to

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