Add patches from Aymeric Vincent to fix sb-posix on recentish NetBSD.
authorJim Wise <jwise@draga.com>
Tue, 17 Jan 2012 16:14:41 +0000 (11:14 -0500)
committerJim Wise <jwise@draga.com>
Tue, 17 Jan 2012 16:14:41 +0000 (11:14 -0500)
commit6548750bc1ca4d832afed1744cdc7133b232c6f2
treea675dd42c02303cd57b72b732ffaa7726e0df5d4
parentabb03f939ada55bdc1856df5cc48815fd0dff69d
Add patches from Aymeric Vincent to fix sb-posix on recentish NetBSD.

There is some possibility that this will break one of the sb-posix tests on FreeBSD:

  The "rmdir" patch needs some input from FreeBSD users.
  "rmdir /" returns EBUSY on NetBSD. Given the recent commit
  2a9b33fc45842ec0335fef2988e07337ae8f1fc7 on october, 17. 2011, it looks
  like OpenBSD and Darwin return EISDIR, but it's clearly not the case of
  NetBSD with a (usual) FFS file system.

  In short, either sbcl is currently broken on FreeBSD wrt the rmdir test
  and my patch will fix it, or my patch will break it and we need to include
  freebsd in the list of OSes producing EISDIR upon "rmdir /".
contrib/sb-posix/interface.lisp
contrib/sb-posix/posix-tests.lisp
src/runtime/bsd-os.c