Commit bf331bb3c739797d096f3f0e60718b9f7280d941

Thomas de Grivel 2018-06-10T08:49:07

remove :socket package on clisp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/cffi-socket.asd b/cffi-socket.asd
index ad2cda9..ebe0327 100644
--- a/cffi-socket.asd
+++ b/cffi-socket.asd
@@ -34,3 +34,10 @@
   ((:file "package")
    (:cffi-grovel-file "grovel-socket" :depends-on ("package"))
    (:file "cffi-socket" :depends-on ("grovel-socket"))))
+
+#+clisp
+(ignore-errors
+  (ext:without-package-lock (:socket)
+    (ext:without-package-lock (:ext)
+      (handler-bind ((error (invoke-restart 'continue)))
+        (delete-package :socket)))))