fix iolib.os on Darwin
commit6f224be39466130691391f074b0307f715ec38c1
authorNikodemus Siivola <nikodemus@random-state.net>
Sun, 5 Sep 2010 09:27:59 +0000 (5 12:27 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Sun, 5 Sep 2010 09:31:02 +0000 (5 12:31 +0300)
tree8faa7734edabe8b7f219c333148ad83735053586
parenta7fb2e60a65fa3c63975687bf528fa277be4f018
fix iolib.os on Darwin

 * PARSE-NAME-AND-OPTIONS used to return NIL as the foreign name if
   both a lisp name and a foreign name were specified, but the foreign
   name was unknown. In contrast if just a single foreign name was
   given, it would be returned without checking for availability.

   CFFI in turn would then loop in CFFI:FOREIGN-NAME, trying to deal
   with NIL.

   So: prefer known foreign names, but return one even if it is
   unknown.

 * Not all the DEFSYSCALL functions are available on Darwin, so this
   broke the build.
src/syscalls/early.lisp