Date: Tue, 21 Aug 2001 20:41:50 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: sandmann AT clio DOT rice DOT edu Message-Id: <1659-Tue21Aug2001204149+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: <10108211609.AA13811@clio.rice.edu> (sandmann@clio.rice.edu) Subject: Re: Fseek on STDIN problem on Win 2K References: <10108211609 DOT AA13811 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 Precedence: bulk > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Tue, 21 Aug 2001 11:09:14 -0500 (CDT) > > This problem is *NOT* limited to Windows 2K - the example program provided > also fails on Windows NT 4.0 built with V2.03 Does the shell make any difference? > Since lfn=n made a difference on w2k testing, and we could not figure > out how that would cause anything different, I will hypothesize that > there is some register in the regs structure we are passing that > fouls up one of these calls. The random value somehow fouls up NT? You could hack up the source to zero out all the registers before filling them up with values, and see if that matters.