| delorie.com/archives/browse.cgi | search | 
| From: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) | 
| Message-Id: | <10108201426.AA12428@clio.rice.edu> | 
| Subject: | Re: Fseek on STDIN problem on Win 2K | 
| To: | acottrel AT ihug DOT com DOT au (Andrew Cottrell) | 
| Date: | Mon, 20 Aug 2001 09:26:07 -0500 (CDT) | 
| Cc: | eliz AT is DOT elta DOT co DOT il (Eli Zaretskii), djgpp-workers AT delorie DOT com | 
| In-Reply-To: | <002501c12980$4c67fa80$0a02a8c0@acceleron> from "Andrew Cottrell" at Aug 20, 2001 11:58:40 PM | 
| 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 | 
> I can comment out all if the if (_USE_LFN) code in fstat that calls 71A6 and > it does not make a difference to the output.. Interesting. That would indicate a problem with the get times (?) since that is the only other LFN usage? > In my testing I found that I can "fix" the problem by one of the following > methods: > a) Commenting out the _is_executable() call in fstat.c > b) Setting the _STAT_EXEC_MAGIC bit in _djstat_flags Avoids reading the magic number. > b) adding a _read() to the _is_executable() function before or after > the second 4200 call. Interesting. Must do read before seek works?
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |