iolib and close
daniel at turtleware.eu
Thu Nov 26 06:23:23 UTC 2015
thanks for the report. As you noticed, problem comes from the conflict
between gray streams method close and the function close. I've noticed
it when started porting ACL-compat to ECL.
Could you file an issue on gitlab.com/embeddable-common-lisp/ecl/issues
Alessandro Serra writes:
> Dear all,
> compiling "iolib-tests" I received the following error:
> #<IPv4 datagram socket, closed 00000000050f3660> is not of type STREAM.
> [Condition of type TYPE-ERROR]
> I have seen that in "clos/streams.lsp" the following method is defined:
> (defmethod close ((stream t) &key abort)
> (declare (ignore abort))
> (bug-or-error stream 'close))
> Removing the method above with:
> (remove-method #'gray:close (find-method #'gray:close '() '(t)))
> I was able to compile iolib-tests and run the tests.
> Did 71 checks.
> Pass: 59 (83%)
> Skip: 0 ( 0%)
> Fail: 12 (16%)
Daniel Kochmański | Poznań, Poland
;; aka jackdaniel
"Be the change that you wish to see in the world." - Mahatma Gandhi
More information about the ecl-devel