|
From: | Richard Stallman |
Subject: | Re: [BUG] Regexp compiler, problem with character classes |
Date: | Fri, 15 Sep 2006 10:29:37 -0400 |
+ void + clear_regexp_cache () + { + int i; + + BLOCK_INPUT; + for (i = 0; i < REGEXP_CACHE_SIZE; ++i) + searchbufs[i].regexp = Qnil; + UNBLOCK_INPUT; + } 1. That leaks the memory in the compiled regexps. 2. I don't see a reason for BLOCK_INPUT. I don't think anything in a signal handler can compile a regexp. Is that not so?
[Prev in Thread] | Current Thread | [Next in Thread] |