cvs commit: src/tools/regression/fifo/fifo_open Makefile fifo_open.c

John-Mark Gurney gurney_j at resnet.uoregon.edu
Mon Sep 12 13:11:38 PDT 2005


Robert Watson wrote this message on Sun, Sep 11, 2005 at 13:03 +0000:
> rwatson     2005-09-11 13:03:36 UTC
> 
>   FreeBSD src repository
> 
>   Added files:
>     tools/regression/fifo/fifo_open Makefile fifo_open.c 
>   Log:
>   Add fifo_open, a basic regression test for opening fifos, which tests
>   the blocking and non-blocking forms of open based on the POSIX spec for
>   now O_NONBLOCK should be handled.

I assume we aren't going to follow the useless POSIX spec for handling
O_NONBLOCK'ing reads wrt select and friends?  If you're interested in a
basic test case, I can send you one...

(That selecting on a fifo for read that doesn't have a writer will
return true, due to the fact that EOF is available for reading on a
O_NONBLOCK fifo.)

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the cvs-all mailing list