From: Juho Snellman Date: Tue, 11 Apr 2006 18:01:00 +0000 (+0000) Subject: 0.9.11.30: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=84e9f00b07d3d5ce4a5a5d30bcdf94c0bd7f2f0f;p=sbcl.git 0.9.11.30: Add Solaris 11 (Solaris Express) support. --- diff --git a/NEWS b/NEWS index 7b6c058..445f213 100644 --- a/NEWS +++ b/NEWS @@ -27,6 +27,10 @@ changes in sbcl-0.9.12 relative to sbcl-0.9.11: (SETF DOCUMENTATION); only find and set documentation for structure names for the STRUCTURE doc-type. (suggested by Gary King) + * improvements to the Solaris/x86 port: + ** works on Solaris 11/Solaris Express + ** floating-point exception handling support + ** support for the breakpoint-based TRACE :ENCAPSULATE NIL facility * fixed some bugs revealed by Paul Dietz' test suite: ** REMOVE-METHOD returns its generic function argument even when the method is not one of the generic functions' methods. diff --git a/src/runtime/sunos-os.c b/src/runtime/sunos-os.c index 48623d3..0cccfe1 100644 --- a/src/runtime/sunos-os.c +++ b/src/runtime/sunos-os.c @@ -66,19 +66,18 @@ os_init(char *argv[], char *envp[]) lose("sunos major version=%d (which isn't 5!)\n", major_version); } minor_version = atoi(name.release+2); - if ((minor_version == 8) || - (minor_version == 9) || - (minor_version == 10)) { - KLUDGE_MAYBE_MAP_ANON = 0x100; - } else if (minor_version > 10) { - FSHOW((stderr, "os_init: Solaris version greater than 9?\nUnknown MAP_ANON behaviour.\n")); - lose("Unknown mmap() interaction with MAP_ANON\n"); - } else { /* minor_version < 8 */ + if ((minor_version < 8)) { kludge_mmap_fd = open("/dev/zero",O_RDONLY); if (kludge_mmap_fd < 0) { perror("open"); lose("Error in open(..)\n"); } + } else if (minor_version > 11) { + FSHOW((stderr, "os_init: Solaris version greater than 11?\nUnknown MAP_ANON behaviour.\n")); + lose("Unknown mmap() interaction with MAP_ANON\n"); + } else { + /* Versions 8-11*/ + KLUDGE_MAYBE_MAP_ANON = 0x100; } /* I do not understand this at all. FIXME. */ diff --git a/version.lisp-expr b/version.lisp-expr index 54e2200..33b47be 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.9.11.29" +"0.9.11.30"