delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/20/17:11:00

Date: Tue, 21 Aug 2001 00:07:53 +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
Message-Id: <9743-Tue21Aug2001000751+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: <10108201920.AA12044@clio.rice.edu> (sandmann@clio.rice.edu)
Subject: Re: Fseek on STDIN problem on Win 2K
References: <10108201920 DOT AA12044 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 14:20:51 -0500 (CDT)
> 
> When stdin is CON the device info is correct.  I did not try it on 
> a redirected handle.  If we are redirected from a file we don't get
> the device of the file correct, but that's probably not a huge problem
> since it does not appear to be a device.

If the device is not returned correctly, fstat will lie about st_dev,
and we could have different files that will look identical.

> For example, we know that the set time calls fail on LFN handles but
> work on SFN handles; now it appears that seek may be flkey on them also. 

Yeah, I wonder what else will break.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019