This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Two unexpected test failures.
- To: Gary Houston <ghouston at arglist dot com>
- Subject: Re: Two unexpected test failures.
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Fri, 31 Mar 2000 09:24:05 +0200 (MEST)
- cc: guile at sourceware dot cygnus dot com
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