From: Gabor Melis Date: Mon, 10 Apr 2006 16:08:45 +0000 (+0000) Subject: 0.9.11.27 X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=d44781425345e5254a15200a809977944aa7ff00;p=sbcl.git 0.9.11.27 * ignore SIGPIPE: it's better to handle the errno of write (2) --- diff --git a/NEWS b/NEWS index 327899e..c71d017 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,8 @@ changes in sbcl-0.9.12 relative to sbcl-0.9.11: ** better backtrace support (thanks to Alastair Bridgewater) * new feature: command line options --no-sysinit, --no-userinit to inhibit loading the corresponding init files + * minor incompatible change: SIGPIPE is ignored and "Broken pipe" + error is signalled instead (thanks to François-René Rideau) * bug fix: LISTEN sometimes returned T even in cases where no data was immediately available from the stream * fixed bug: types of the last two arguments to SET-SYNTAX-FROM-CHAR diff --git a/src/code/target-signal.lisp b/src/code/target-signal.lisp index 53fc396..8308012 100644 --- a/src/code/target-signal.lisp +++ b/src/code/target-signal.lisp @@ -125,7 +125,6 @@ (define-signal-handler sigsegv-handler "segmentation violation") #!-linux (define-signal-handler sigsys-handler "bad argument to a system call") -(define-signal-handler sigpipe-handler "SIGPIPE") (defun sigalrm-handler (signal info context) (declare (ignore signal info context)) @@ -157,7 +156,7 @@ (enable-interrupt sigsegv #'sigsegv-handler) #!-linux (enable-interrupt sigsys #'sigsys-handler) - (enable-interrupt sigpipe #'sigpipe-handler) + (ignore-interrupt sigpipe) (enable-interrupt sigalrm #'sigalrm-handler) (sb!unix::reset-signal-mask) (values)) diff --git a/version.lisp-expr b/version.lisp-expr index bcb2eb5..fabbb7d 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.26" +"0.9.11.27"