Skip to content

Commit

Permalink
[SBCL] Fix Build failure on some SBCL versions due to sb-int:broken-p…
Browse files Browse the repository at this point in the history
…ipe (#81)
  • Loading branch information
binghe committed Apr 11, 2022
1 parent b720911 commit b0f5f0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion backend/sbcl.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,12 @@
#-(or ecl mkcl clasp)
(sb-sys:io-timeout . timeout-error)
#+sbcl (sb-ext:timeout . timeout-error)
#+sbcl (sb-int:broken-pipe . connection-aborted-error)

;; learnt from fiveam (suggested by Anton Vodonosov) for early SBCL versions
#+#.(cl:if (cl:ignore-errors (cl:find-symbol "BROKEN-PIPE" "SB-INT"))
'(and) '(or))
(sb-int:broken-pipe . connection-aborted-error)

(sb-bsd-sockets:socket-error . ,#'map-socket-error)

;; Nameservice errors: mapped to unknown-error
Expand Down

0 comments on commit b0f5f0f

Please sign in to comment.