0.8.17.31: "dlerror and a tale of woe"
authorBrian Mastenbrook <bmastenb@cs.indiana.edu>
Mon, 20 Dec 2004 13:10:38 +0000 (13:10 +0000)
committerBrian Mastenbrook <bmastenb@cs.indiana.edu>
Mon, 20 Dec 2004 13:10:38 +0000 (13:10 +0000)
commit383a00c5ce6b5fc05b9a00661b088efcef1afcb9
tree770ebe0d7f79c295bebd43f9ed2a4f097cf0fe0d
parentaf141fe8d840aeb9011e3c6d2d6492216a12304c
0.8.17.31: "dlerror and a tale of woe"
    Fix two bugs relating to dlerror() in the OS X dl* shim:
      * dlerror() should return NULL when there is no error
      * dlerror() should return an error when dlsym() returns NULL
    Also, fix a call to cerror with only one argument.

    Restores support for OS X 10.2 "Jaguar":
      * Use a header file with constants for the dl* shim instead of the
        OS dlfcn.h, which doesn't exist under 10.2 and does under 10.3
      * Include a fake nl_langinfo which returns a codeset of UTF-8 unless
        neither LC_CALL or LANG are set to C. OS X uses UTF-8 everywhere, so
        this is arguably the right behavior.
src/code/foreign-load.lisp
src/runtime/Config.ppc-darwin
src/runtime/ppc-darwin-dlshim.c
src/runtime/ppc-darwin-dlshim.h [new file with mode: 0644]
src/runtime/ppc-darwin-langinfo.c [new file with mode: 0644]
src/runtime/ppc-darwin-langinfo.h [new file with mode: 0644]
tools-for-build/grovel-headers.c
version.lisp-expr