Mail Archives: cygwin/2004/09/08/21:01:05
Op Wed, 8 Sep 2004 12:06:57 +0200 schreef Corinna Vinschen
in <20040908100657 DOT GC20537 AT cygbert DOT vinschen DOT de>:
: On Sep 8 01:55, Bas van Gompel wrote:
: > This fix trips on a bug in (my) windows 95 (OSR2):
: > It's CreateNamedPipe returns 0 instead of -1 (INVALID_HANDLE_VALUE),
: > causing all operations on pipes to fail.
: > [...]
: > A patch to work around this in cygwin could be: (WFM)
[pipe-w95.diff]
: > I hope this patch is small enough to qualify as `trivial', as I
:
: It is. I'm just wondering if it is really necessary to assume, that
: CreateNamedPipe will ever return NULL as a vaild handle. I'd assume
The fact that INVALID_HANDLE_VALUE != NULL, made me think NULL might
be a valid handle value elsewhere. I was just trying to be thorough.
I don't think the difference will severely hurt performance or size...
: that the following patch is sufficient:
[...]
Possibly. However MS might also make NULL be an alias to NUL in the
future, or just treat NULL like any other handle.
: > haven't received any reply to my legal query (yet). (Did the reply
: > get blocked from the list?)
:
: No, there was no reply so far, unfortunately. I'm sorry. I'll try to
: nudge our legal department again.
I'll be waiting. (This will give me more time to test readdir_r,
once I decide how to keep accesses separate.)
L8r,
Buzz.
--
) | | ---/ ---/ Yes, this | This message consists of true | I do not
-- | | / / really is | and false bits entirely. | mail for
) | | / / a 72 by 4 +-------------------------------+ any1 but
-- \--| /--- /--- .sigfile. | |perl -pe "s.u(z)\1.as." | me. 4^re
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -