delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/07/07:10:55

From: lauras AT softhome DOT net
Date: Sun, 7 Jan 2001 14:10:16 +0200
To: djgpp-workers AT delorie DOT com
Cc: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Subject: Re: Bug in lstat() - wrong arguments to FSEXT
Message-ID: <20010107141016.A314@lauras.lt>
References: <3A571D5F DOT 36413161 AT phekda DOT freeserve DOT co DOT uk> <Pine DOT SUN DOT 3 DOT 91 DOT 1010107120611 DOT 21289S-100000 AT is>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.SUN.3.91.1010107120611.21289S-100000@is>; from eliz@is.elta.co.il on Sun, Jan 07, 2001 at 12:08:27PM +0200
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

On Sun, Jan 07, 2001 at 12:08:27PM +0200, Eli Zaretskii wrote:
> I think this is a result of replacing `path' with `real_path' when 
> symlink support was added to `stat': the former was on the stack, since 
> it's the argument of `stat' (now `lstat'), and so passing a pointer to 
> it does TRT, evebn though it is not declared as a va_list.

But the converted path is on the stack too, it's a local and
not static variable, so shouldn't it work too?

Laurynas
 

- Raw text -


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