From owner-cvs-all@FreeBSD.ORG Mon Sep 12 20:11:38 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C8F516A41F; Mon, 12 Sep 2005 20:11:38 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 907F343D49; Mon, 12 Sep 2005 20:11:37 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j8CKBaVO042165; Mon, 12 Sep 2005 13:11:36 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j8CKBaDQ042164; Mon, 12 Sep 2005 13:11:36 -0700 (PDT) (envelope-from jmg) Date: Mon, 12 Sep 2005 13:11:36 -0700 From: John-Mark Gurney To: Robert Watson Message-ID: <20050912201136.GK793@funkthat.com> References: <200509111303.j8BD3bTK042313@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509111303.j8BD3bTK042313@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/regression/fifo/fifo_open Makefile fifo_open.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 20:11:38 -0000 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."