delorie.com/archives/browse.cgi | search |
Date: | Mon, 20 Aug 2001 09:32:00 +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: | <2950-Mon20Aug2001093159+0300-eliz@is.elta.co.il> |
X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 |
CC: | acottrel AT ihug DOT com DOT au, djgpp-workers AT delorie DOT com |
In-reply-to: | <10108200508.AA15103@clio.rice.edu> (sandmann@clio.rice.edu) |
Subject: | Re: Fseek on STDIN problem on Win 2K |
References: | <10108200508 DOT AA15103 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: Mon, 20 Aug 2001 00:08:42 -0500 (CDT) > > Minimal test that shows problem below. If lfn=n it works. Time for > disecting fstat again. The only places where fstat looks at _USE_LFN is in the call to 71a6 and inside set_fstat_times (or friends 57xx functions). This doesn't include external functions fstat calls; I don't think they test whether LFN is enabled, but I didn't check. If _is_executable is the suspect, it can be disabled by setting the _STAT_EXEC_MAGIC bit in _djstat_flags. Note that fstat itself calls the lseek function (4200/4201), directly or indirectly, several times. So if something's wrong with that function, it either should be wrong right from the start, or something inside fstat makes it misbehave.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |