delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/13/06:12:56

Date: Mon, 13 Aug 2001 13:00:45 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: acottrel AT ihug DOT com DOT au
Message-Id: <7704-Mon13Aug2001130045+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: <003801c12241$d44f9b10$0a02a8c0@acceleron> (acottrel@ihug.com.au)
Subject: Re: Link function query
References: <003801c12241$d44f9b10$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

> From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
> Date: Sat, 11 Aug 2001 18:44:25 +1000
> 
> My question is in link.s shouldn't we either use stat() or fstat() not both?
> Stat calls lstat() and the lstat file
> 
> If I move the open path1 and use the fd1 and change the code to use fstat
> then the function almost works. Once I use fstat() I then find that the
> newely created file has the read only bit set, I am currently looking at
> this issue. I may be able to produce a patch very quickly once I know the
> answer to the stat() or fstat() question above.

What is the problem with `stat' here?

- Raw text -


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