[iolib-devel] #+lispworks missing in iolib/io.streams/pkgdcl.lisp

Chun Tian binghe binghe.lisp at gmail.com
Thu Jun 7 18:20:24 UTC 2007


Hi, IOLib

The line 31 of iolib/io.streams/pkgdcl.lisp miss a "lispworks" feature. This caused io.streams package cannot import symbols from lispworks' stream package, and cause a error when I use net.smtp-client:

Error: The class #<STANDARD-CLASS IO.STREAMS:DUAL-CHANNEL-GRAY-STREAM 40D0347A5B> cannot be finalized because the following superclass is not defined: #<FORWARD-REFERENCED-CLASS IO.STREAMS:FUNDAMENTAL-BINARY-INPUT-STREAM 40D03479CB>.
  1 (abort) Return to level 0.
  2 Return to top loop level 0.

Type :b for backtrace, :c <option number> to proceed,  or :? for other options

A trivial patch may fix this.

--8<---------------cut here---------------start------------->8---
--- pkgdcl.lisp.orig	2007-06-08 02:12:43.910573918 +0800
+++ pkgdcl.lisp	2007-06-08 02:01:45.817445668 +0800
@@ -28,7 +28,7 @@
              `(defpackage :io.streams
                 (:use #:common-lisp #:cffi #:iolib-utils
                       #:io.encodings)
-                #+(or sbcl cmu openmcl clisp allegro)
+                #+(or sbcl cmu openmcl clisp allegro lispworks)
                 (:import-from #+sbcl      #:sb-gray
                               #+cmu       #:ext
                               #+openmcl   #:ccl
--8<---------------cut here---------------end--------------->8---

-- 
'()




More information about the iolib-devel mailing list