[cffi-devel] New patches: 8-Jan-2009
Thu Jan 8 21:54:16 UTC 2009 Luis Oliveira <loliveira@common-lisp.net> * cffi-allegro: WITH-FOREIGN-POINTER bug fix - Pass :ALLOCATION :FOREIGN-STATIC-GC to FF:WITH-STACK-FOBJECT so that the allocated object is not moved by the GC in those situation where W-S-F does heap allocation (e.g. in interpreted code). Initial patch courtesy of John Fremlin. M ./src/cffi-allegro.lisp -6 +5 An updated tarball of CFFI's source can be downloaded here: http://common-lisp.net/project/cffi/tarballs/cffi-090108.tar.gz Darcsweb URL: http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=cffi-cffi;a=summary
To confirm, I have tested the 8-Jan-2008, plus the two patches Allegro: allegro-wfp allegro-pointer and it seems to work fine on 64-bit and 32-bit. We haven't given it extensive testing. The crash bug with defcfun strerror on 64-bit is gone. Just for reference here is the combined patch against the 8 Jan version that I am using. Thanks for the speedy and helpful response!
participants (2)
-
John Fremlin
-
Luis Oliveira