delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
Date: | Fri, 26 Apr 2002 10:46:42 +0300 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> |
Message-Id: | <2561-Fri26Apr2002104641+0300-eliz@is.elta.co.il> |
X-Mailer: | emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 |
CC: | pjfarley AT dorsai DOT org, djgpp-workers AT delorie DOT com |
In-reply-to: | <3CC72CFD.5391DAFE@phekda.freeserve.co.uk> (message from Richard |
Dawe on Wed, 24 Apr 2002 23:09:01 +0100) | |
Subject: | Re: PATCH: fcntl and F_GETFL, mark 2 |
References: | <10204061918 DOT AA13504 AT clio DOT rice DOT edu> <3CC72CFD DOT 5391DAFE AT phekda DOT freeserve DOT co DOT uk> |
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 |
> Date: Wed, 24 Apr 2002 23:09:01 +0100 > From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> > > I've just tested it under WinNT4+SP5 with SFN (no LFN TSR) under VMware 3.1 > and the results are weird. _get_sft_entry_ptr in src/libc/posix/fcntl/fcntl.c > returns some value, but then files are reported as read-only irrespective of > what mode they were opened with. So it looks like the return value from > _get_sft_entry_ptr is bogus. Or maybe the SFT it points to is bogus. There's some code in fstat that verifies the SFT pointer, perhaps you should use something similar in fcntl. > The SFT handling code in fstat is pretty different. I wonder if that > works OK. AFAIK, it does.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |