Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <779F20BCCE5AD31186A50008C75D99791716E8@SILLDN_MAIL1> From: "Fifer, Eric" To: "'Chris Faylor'" Cc: "'cygwin-developers AT sourceware DOT cygnus DOT com'" Subject: RE: some bug fixes Date: Mon, 28 Feb 2000 13:20:33 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" >But, unless I'm missing something, you still are not specifically >checking only for exceptions as the ChangeLog indicated. True, the code change focuses on the fact that PeekNamedPipe never works (always fails with ERROR_ACCESS_DENIED) when used with the write end of a pipe (the /dev/pipew handle does not have GENERIC_READ access). My ChangeLog entry reflected more the circumstances of my test case (sel.c): #include main() { int n; struct timeval timeout; fd_set fde; FD_ZERO(&fde); FD_SET(1, &fde); timeout.tv_sec = 1; timeout.tv_usec = 0; n = select(16, NULL, NULL, &fde, &timeout); printf("n = %d\n", n); } Which runs as: % sel.exe | cat n = 1 And, it thinks there is an error on stdout. Sorry, I didn't intend to be misleading. My understanding of Cygwin always tends to be myopic. Eric