delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
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" <EFifer AT sanwaint DOT com> |
To: | "'Chris Faylor'" <cgf AT cygnus DOT com> |
Cc: | "'cygwin-developers AT sourceware DOT cygnus DOT com'" |
<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) |
>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 <sys/select.h> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |