[Ecls-list] Important bug fix in LOAD.

Juan Jose Garcia Ripoll worm at arrakis.es
Fri May 23 01:13:10 UTC 2003


Two important fixes:

+ LOAD no longer binds *STANDARD-INPUT* to the file being read. That was 
wrong, AFAIK.
+ CLEAR-INPUT now works with interactive streams (i.e. *STANDARD-INPUT, etc).

This means that you can now type (READ-LINE) at the toplevel and expect a line 
being read. Formerly, the #\Newline character of the previosly input line 
would remain in the buffer and (READ-LINE) would return false.

For instance, before the fix:
> (READ-LINE)
""
> (READ-LINE) HOLA
" HOLA"
After the fix

> (READ-LINE)
USER TYPES SOMETHING
"USER TYPES SOMETHING"
> (READ-LINE) HOLA
"HOLA"

Thanks, Andrew, for pointing this out!

Best regards,

Juanjo




More information about the ecl-devel mailing list