This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: some bug fixes
- To: 'Chris Faylor' <cgf at cygnus dot com>
- Subject: RE: some bug fixes
- From: "Fifer, Eric" <EFifer at sanwaint dot com>
- Date: Mon, 28 Feb 2000 13:20:33 -0000
- Cc: "'cygwin-developers at sourceware dot cygnus dot com'" <cygwin-developers at sourceware dot cygnus dot com>
>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