GNU bug report logs - #18013
looking-back is inefficient

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Mon, 14 Jul 2014 09:48:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.3.92

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> suse.de>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 18013 <at> debbugs.gnu.org
Subject: bug#18013: 24.3.92; Infloop in re_search_2
Date: Mon, 14 Jul 2014 12:06:55 +0200
Nicolas Richard <theonewiththeevillook <at> yahoo.fr> writes:

> I'll admit that (looking-back "[^\n]") is not exactly the canonical way
> to test for (not (bolp)), but should it make an infloop ? I can't
> reproduce though.

I don't think it infloops, it just takes a very long time.  Since this
is running in a process filter interrupts are disabled, so you have to
be extra careful with what you do here.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 8 years and 116 days ago.

Previous Next


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