Mercurial > hg > xemacs-beta
view .hgignore @ 5393:e99b473303e3
Use GC_EXTERNAL_LIST_LOOP_* where appropriate, fns.c
src/ChangeLog addition:
2011-04-04 Aidan Kehoe <kehoea@parhasard.net>
* lisp.h (GC_EXTERNAL_LIST_LOOP_3, GC_EXTERNAL_LIST_LOOP_4): New.
* fns.c (count_with_tail, list_position_cons_before, FassocX):
* fns.c (FrassocX, position, FdeleteX, FremoveX):
* fns.c (list_delete_duplicates_from_end):
* fns.c (Fdelete_duplicates, Fremove_duplicates, Freduce):
* fns.c (Fnsubstitute, Fsubstitute, sublis, nsublis, Fnsublis):
* fns.c (venn, nvenn, Funion, Fset_exclusive_or, Fnset_exclusive_or):
Use GC_EXTERNAL_LIST_LOOP_* in the sequence functions in fns.c
where appropriate, there were some corner cases where my old
approach was unsafe (mainly if the circularity checking's tortoise
lost GCPRO protection.
Add GC_EXTERNAL_LIST_LOOP_{3,4}, analogous to
GC_EXTERNAL_LIST_LOOP_2.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 04 Apr 2011 00:20:09 +0100 |
parents | 9b3f398ebfb7 |
children | 3e5d5e8e4bb7 |
line wrap: on
line source
(^|/)CVS($|/) (^|/)\.hg($|/) (^|/)\.hgtags($|/) \.o$ \.elc$ ~$ \.orig$ \.rej$ (^|/)\#[^/]*\#$ (^|/)\.\#[^/]*$ info/.*\.info(-[0-9]+)?$ ^GNUmakefile$ ^Installation$ ^Makefile$ ^Makefile\.in$ ^autom4te\.cache ^config\.(log|status)$ ^lib-src/DOC$ ^lib-src/(GNUmakefile|Makefile(\.in)?)$ ^lib-src/config\.values$ ^lib-src/(b2m|ctags|cvtmail|digest-doc|ellcc|etags|fakemail|gnuclient|gnuserv|hexl|insert-data-in-exec|make-docfile|make-dump-id|make-path|mmencode|movemail|ootags|profile|sorted-doc|wakeup|yow)$ ^lib-src/ellcc\.h$ ^lisp/(auto-autoloads|custom-load|finder-inf)\.el$ ^lisp/mule/(auto-autoloads|custom-load)\.el$ ^lwlib/(GNUmakefile|Makefile(\.in)?)$ ^lwlib/liblw\.a$ ^lwlib/config\.h$ ^modules/auto-autoloads\.el$ ^modules/ldap/(GNUmakefile|Makefile(\.in)?)$ ^modules/ldap/eldap\.ell$ ^modules/ldap/eldap_i\.c$ ^(xemacs|mule)-packages ^etc/PROBLEMS$ ^src/(.dbxrc|.gdbinit)(\.in)?$ ^src/(GNUmakefile|Makefile(\.in)?)$ ^src/NEEDTODUMP$ ^src/config\.h$ ^src/dump-id\.c$ ^src/dump-size$ ^src/paths\.h$ ^src/sheap-adjust\.h$ ^src/temacs$ ^src/xemacs$ ^src/xemacs\.def(\.in)?$ ^src/xemacs\.dmp$ ^src/Emacs\.ad\.h$ ^etc/bundled-packages/.*\.tar\.gz$ ^lib-src/(etags|hexl|i|make-docfile|make-dump-id|minitar|mmencode|movemail|sorted-doc|wakeup|winclient)\.(exe|exe\.manifest|pdb)$ \.obj$ ^nt/obj ^nt/config.inc ^src/REBUILD_AUTOLOADS$ ^src/(temacs|xemacs)\.(exe|exe\.manifest|pdb|map|bsc)$ ^TAGS$ ^version\.sh$