GNU bug report logs - #20588
[PATCH] 24.5; delete-consecutive-dups may loop infinity

Previous Next

Package: emacs;

Reported by: Shigeru Fukaya <shigeru.fukaya <at> gmail.com>

Date: Sat, 16 May 2015 05:19:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#20588: [PATCH] 24.5; delete-consecutive-dups may loop infinity
Date: Sat, 16 May 2015 16:01:51 +0800
On 2015-05-16 13:18 +0800, Shigeru Fukaya wrote:
> delete-consecutive-dups falls into infinite loop if the last element
> is nil.  The attached code will fix it, and besides, avoid re-scan
> (call of nbutlast) of a circular list in deletion of the last element.

Thanks for the fix. Could you commit it to master?

Leo





This bug report was last modified 10 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.