Date: Mon, 13 Aug 2001 21:20:31 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: acottrel AT ihug DOT com DOT au Message-Id: <7048-Mon13Aug2001212030+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: djgpp-workers AT delorie DOT com In-reply-to: <028c01c12405$d1b326e0$0a02a8c0@acceleron> (acottrel@ihug.com.au) Subject: Re: Fw: Fstat.c patch References: <00fe01c12311$92957890$0a02a8c0 AT acceleron> <4331-Mon13Aug2001125532+0300-eliz AT is DOT elta DOT co DOT il> <019701c123f9$6febae70$0a02a8c0 AT acceleron> <557-Mon13Aug2001165656+0300-eliz AT is DOT elta DOT co DOT il> <028c01c12405$d1b326e0$0a02a8c0 AT acceleron> 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: "Andrew Cottrell" > Date: Tue, 14 Aug 2001 00:39:53 +1000 > > > The st_dev stuff comes from fstat, so the key for the problem is > > there. > > > > I think this happens because, as Charles reported earlier, > > _get_dev_info always returns zero for LFN handles, so all files look > > as if they were on drive A:. > > > > If I'm right, setting LFN=n should cure this problem (of course, this > > is not the solution I propose for the library, just something to test). > No the solution that I found worked was to change the stat() calls to > fstat() calls and the code in link.c then works. We need to have fstat working anyway, so I'd rather try to fix fstat before trying local fixes in link.