| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
| Date: | Sat, 06 Apr 2002 10:15:21 +0300 |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| Sender: | halo1 AT zahav DOT net DOT il |
| To: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
| Message-Id: | <5567-Sat06Apr2002101520+0300-eliz@is.elta.co.il> |
| X-Mailer: | emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 |
| CC: | djgpp-workers AT delorie DOT com |
| In-reply-to: | <10204051719.AA13284@clio.rice.edu> (sandmann@clio.rice.edu) |
| Subject: | Re: PATCH: fcntl and F_GETFL, mark 2 |
| References: | <10204051719 DOT AA13284 AT clio DOT rice DOT edu> |
| 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 |
> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Fri, 5 Apr 2002 11:19:44 -0600 (CST)
>
> > +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).
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |