This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Two unexpected test failures.


On 30 Mar 2000, Gary Houston wrote:

> Thanks, that's what it's supposed to do.  Most likely the test script
> needs to check for EWOULDBLOCK as well as EAGAIN.  Here's another test
> to confirm it:
> 
> (let* ((p (pipe))
>        (r (car p)))
>   (fcntl r F_SETFL O_NONBLOCK)
>   (catch 'system-error
>     (lambda () (read-char r))
>     (lambda (key . args)
>       (write key)
>       (newline)
>       (write args)
>       (newline)
>       (write EAGAIN)
>       (newline)
>       (write EWOULDBLOCK)
>       (newline))))
> 

system-error
("fport_fill_input" "~A" ("Resource temporarily unavailable") (0))
11
11


Thanks for your efforts!
Dirk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]