From bd93f052f95371f613fb913c1cac2b01c8ff2a5c Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Fri, 30 Apr 2010 10:56:41 +0000 Subject: [PATCH] 1.0.37.74: support NetBSD-current ... at least if I've done everything right. Slushy freezes, don't you just love them? Also don't run the run-program inherit-stdin test, because it hangs. --- NEWS | 14 ++++++++------ src/code/unix.lisp | 2 +- src/runtime/runtime.c | 2 +- tests/run-program.impure.lisp | 6 +++--- version.lisp-expr | 2 +- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/NEWS b/NEWS index 5deb27e4b..c5ab41f8a 100644 --- a/NEWS +++ b/NEWS @@ -1,14 +1,14 @@ ;;;; -*- coding: utf-8; fill-column: 78 -*- changes relative to sbcl-1.0.37: - * INCOMPATIBLE CHANGE: Thread names are now restricted to SIMPLE-STRINGs + * incompatible change: Thread names are now restricted to SIMPLE-STRINGs like for any other thread-related datastructure, MUTEX, etc. (lp#547095) - * DEPRECATION: the SB-QUEUE contrib was merged into the SB-CONCURRENCY + * deprecation: the SB-QUEUE contrib was merged into the SB-CONCURRENCY contrib module. New code should depend on SB-CONCURRENCY, not SB-QUEUE. - * DEPRECATION: SB-THEAD:GET-MUTEX was deprecated in favor of + * deprecation: SB-THEAD:GET-MUTEX was deprecated in favor of SB-THREAD:GRAB-MUTEX. - * new contrib: SB-CONCURRENCY is a new contrib; it's supposed to contain - additional data structures and tools for concurrent programming; at the - moment it contains a lock-free queue, and a lock-free mailbox + * new contributed module: SB-CONCURRENCY is a new contrib; it's supposed to + contain additional data structures and tools for concurrent programming; + at the moment it contains a lock-free queue, and a lock-free mailbox implementation. * new feature: added SB-THREAD:GRAB-MUTEX; it's like the now deprecated GET-MUTEX but takes &key rather than &optional parameters. Also added @@ -47,6 +47,8 @@ changes relative to sbcl-1.0.37: some of CL-PPCRE's macros. (lp#570079) * enhancement: our machine code is slightly less hostile to valgrind on x86-64. + * enhancement: up-to-date versions of NetBSD-current are supported. (Thanks + to Robert Swindells and Aleksej Saushev) * bug fix: correct restart text for the continuable error in MAKE-PACKAGE. * bug fix: a rare case of startup-time page table corruption. * bug fix: a semaphore with multiple waiters and some of them unwinding due diff --git a/src/code/unix.lisp b/src/code/unix.lisp index f8ef69d8c..e7cd25e10 100644 --- a/src/code/unix.lisp +++ b/src/code/unix.lisp @@ -808,7 +808,7 @@ corresponds to NAME, or NIL if there is none." (tm-zone c-string))) ; Timezone abbreviation. (define-alien-routine get-timezone sb!alien:void - (when sb!alien:long :in) + (when time-t :in) (seconds-west sb!alien:int :out) (daylight-savings-p sb!alien:boolean :out)) diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c index e4ec0e9b2..59cead9c4 100644 --- a/src/runtime/runtime.c +++ b/src/runtime/runtime.c @@ -513,7 +513,7 @@ main(int argc, char *argv[], char *envp[]) fflush(stdout); } -#if defined(SVR4) || defined(__linux__) +#if defined(SVR4) || defined(__linux__) || defined(__NetBSD__) tzset(); #endif diff --git a/tests/run-program.impure.lisp b/tests/run-program.impure.lisp index edae1fb8d..29fbd7245 100644 --- a/tests/run-program.impure.lisp +++ b/tests/run-program.impure.lisp @@ -153,9 +153,9 @@ ;; We can't check for the signal itself since run-program.c resets the ;; forked process' signal mask to defaults. But the default is `stop' ;; of which we can be notified asynchronously by providing a status hook. -(with-test (:name (:run-program :inherit-stdin)) - #+(and darwin sb-thread) - (error "Hangs on threaded Darwin.") +(with-test (:name (:run-program :inherit-stdin) + :fails-on :sbcl) + (error "Hangs at least on threaded Darwin and threaded x86-64/Linux.") (let (stopped) (flet ((status-hook (proc) (case (sb-ext:process-status proc) diff --git a/version.lisp-expr b/version.lisp-expr index cec842ea4..c2ff8966b 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".) -"1.0.37.73" +"1.0.37.74" -- 2.11.4.GIT