delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
From: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
Message-Id: | <10204061918.AA13504@clio.rice.edu> |
Subject: | Re: PATCH: fcntl and F_GETFL, mark 2 |
To: | eliz AT is DOT elta DOT co DOT il |
Date: | Sat, 6 Apr 2002 13:18:05 -0600 (CST) |
Cc: | djgpp-workers AT delorie DOT com |
In-Reply-To: | <5567-Sat06Apr2002101520+0300-eliz@is.elta.co.il> from "Eli Zaretskii" at Apr 06, 2002 10:15:21 AM |
X-Mailer: | ELM [version 2.5 PL2] |
Mime-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> > > +On Windows NT/2000/XP this cannot report the open mode correctly - > > > +@code{O_RDWR} is always returned. > > > > I'm not sure on this. I didn't have time to patch/build everything, > > but I extracted the code which did modes and printed them to the > > screen, and it gave 2 for handles 0..3 and 1 for handle 4 (it didn't > > fail getting sft). The difference in value may indicate it actually > > works on Win2K. > > So perhaps we should change the docs wording to say that it _might_ > be unable to report the open mode correctly (the code already does > TRT, I believe). I would prefer we don't put anything at all unless we know there is a problem.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |