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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shigeru Fukaya <shigeru.fukaya <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] 24.5; delete-consecutive-dups may loop infinity
Date: Sat, 16 May 2015 14:18:35 +0900
[Message part 1 (text/plain, inline)]
Hello.

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.

Regards,
Shigeru
[subr.diff (application/octet-stream, attachment)]
[ChangeLog (application/octet-stream, attachment)]

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.