[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Irregex-fold infinite loop bugfix
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Irregex-fold infinite loop bugfix |
Date: |
Fri, 9 Dec 2011 10:56:44 +0100 |
User-agent: |
Mutt/1.4.2.3i |
Hello hackers,
The attached patch brings our irregex code up-to-date with the latest
fixes in upstream applied by Alex (also in the irregex-bugfixes branch).
It fixes a problem with irregex-fold that caused it to hang when it
matched an empty submatch, as shown by this simple code:
(irregex-fold '(* "a") void #f "ab")
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
0001-Apply-upstream-changesets-ba70feace1dd-and-78ba6b09e.patch
Description: Text document
- [Chicken-hackers] [PATCH] Irregex-fold infinite loop bugfix,
Peter Bex <=