[Ecls-list] strange bug related to streams

Stelian Ionescu sionescu at common-lisp.net
Sat Feb 2 21:18:00 UTC 2008

I've encountered a strange bug while trying to load CFFI:

;;; Compiling (DEFUN %DEFCFUN-VARARGS ...).
Cannot unread the stream #<string-input stream from "-">.
Broken at EVAL.Available restarts:
1. (RETRY) Retry performing #<ASDF:COMPILE-OP NIL 143579824> on #<ASDF:CL-SOURCE-FILE "functions" 138646248>.
2. (ACCEPT) Continue, treating #<ASDF:COMPILE-OP NIL 143579824> on #<ASDF:CL-SOURCE-FILE "functions" 138646248> as having been successful.
CFFI>> :backtrace
Backtrace: > ASDF:OPERATE > hechee-user:load-op > eval

the problem is caused by #\- (and other cases of literal characters)
For the moment I've worked around this by replacing the literal
characters with the equivalent invocations of CODE-CHAR :)
I can reliably reproduce this bug on my machine, and even after "fixing"
CFFI I encountered it while loading other libraries

I'm using ECL HEAD on GNU/Linux x86

Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20080202/61459be7/attachment.sig>

More information about the ecl-devel mailing list