Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5680:8a2ac78cb97d
Pre-emptively update any dirty mirror syntax table before searching
src/ChangeLog addition:
2012-09-02 Aidan Kehoe <kehoea@parhasard.net>
* regex.c (re_search_2):
* regex.c (re_match_2):
If the mirror syntax table is dirty, update it before the search,
preventing a malloc() inside the search code, something which
isn't allowed. Thank you Henry Thompson!
tests/ChangeLog addition:
2012-09-02 Aidan Kehoe <kehoea@parhasard.net>
* automated/regexp-tests.el:
Make sure we can search for character ranges successfully when the
syntax table is dirty.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 02 Sep 2012 17:36:47 +0100 |
parents | a81a739181dc |
children | 4af5a3435c94 |
comparison
equal
deleted
inserted
replaced
5679:a81a739181dc | 5680:8a2ac78cb97d |
---|---|
1 2012-09-02 Aidan Kehoe <kehoea@parhasard.net> | |
2 | |
3 * regex.c (re_search_2): | |
4 * regex.c (re_match_2): | |
5 If the mirror syntax table is dirty, update it before the search, | |
6 preventing a malloc() inside the search code, something which | |
7 isn't allowed. Thank you Henry Thompson! | |
8 | |
1 2012-08-12 Aidan Kehoe <kehoea@parhasard.net> | 9 2012-08-12 Aidan Kehoe <kehoea@parhasard.net> |
2 | 10 |
3 * specifier.c (define_specifier_tag): | 11 * specifier.c (define_specifier_tag): |
4 GC protect the list that Fcharset_list () gave back, it's freshly | 12 GC protect the list that Fcharset_list () gave back, it's freshly |
5 consed. | 13 consed. |