From: Sam S. <sd...@gn...> - 2010-06-17 16:00:11
|
José H. Espinosa wrote: > On Jun 17, 2010, at 6:38 AM, Sam Steingold wrote: >> José H. Espinosa wrote: >>> I test it on MacOSX 10.4.11 > test "`echo '(+ foo bar)' | ./lisp.run -B . -N locale -E UTF-8 - > Epathname 1:1 -Emisc 1:1 -norc -q -M lispinit.mem -x '(setq foo 11 > bar 99)' -repl | tr -d '\r'| tr '\n' '_'`" = '99_[1]> _110_' || exit 1 > STACK size: 98238 [0x7b4f00 0x755008] > rm -f script.lisp; echo '(error "loading script.lisp")' > script.lisp > if ./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc > -q -M lispinit.mem -x '(load "script.lisp")' -repl < /dev/null; then > exit 1; else :; fi > STACK size: 98238 [0x7b4f00 0x755008] > ;; Loading file script.lisp ... > *** - loading script.lisp > The following restarts are available: > SKIP :R1 skip (ERROR loading script.lisp) > STOP :R2 stop loading file /Users/jhe/oss/clisp/src/ > script.lisp > ABORT :R3 Abort main loop > > [stream.d:4879] > *** - UNIX error 19 (ENODEV): No such device thanks. please try this patch. --- stream.d.~1.681.~ 2010-06-16 15:34:04.000000000 -0400 +++ stream.d 2010-06-17 11:58:29.001379000 -0400 @@ -4875,6 +4875,9 @@ local listen_t listen_handle (Handle han #ifdef ENOSYS /* for UNIX_IRIX */ || (errno == ENOSYS) #endif + #ifdef ENODEV /* for UNIX_MACOSX */ + || (errno == ENODEV) + #endif ) ) { OS_error(); } |