From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10108200449.AA15073@clio.rice.edu> Subject: Re: Fseek on STDIN problem on Win 2K To: acottrel AT ihug DOT com DOT au (Andrew Cottrell) Date: Sun, 19 Aug 2001 23:49:31 -0500 (CDT) Cc: djgpp-workers AT delorie DOT com In-Reply-To: <001301c128b2$21beb2c0$0a02a8c0@acceleron> from "Andrew Cottrell" at Aug 19, 2001 11:23:21 PM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Sigh. _get_dev_info(0) returns 0 - so Windows 2K is opening the handle with the LFN API before sending it to us. Note, it returns 0 if I set lfn=n or not, but something we are doing to the handle causes seeks to stop working if lfn is not no. It may be the tiny 71a6 section in fstat? Too late to test now. Good luck Andrew.