0.9.11.27
authorGabor Melis <mega@hotpop.com>
Mon, 10 Apr 2006 16:08:45 +0000 (16:08 +0000)
committerGabor Melis <mega@hotpop.com>
Mon, 10 Apr 2006 16:08:45 +0000 (16:08 +0000)
  * ignore SIGPIPE: it's better to handle the errno of write (2)

NEWS
src/code/target-signal.lisp
version.lisp-expr

diff --git a/NEWS b/NEWS
index 327899e..c71d017 100644 (file)
--- 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
index 53fc396..8308012 100644 (file)
 (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))
   (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))
index bcb2eb5..fabbb7d 100644 (file)
@@ -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"