www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/19/16:23:49

Date: Mon, 19 Apr 1999 17:23:18 -0400
Message-Id: <199904192123.RAA15086@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <371B9DE5.9A7A4351@pallen.dabsol.co.uk> (message from Peter Allen
on Mon, 19 Apr 1999 22:19:33 +0100)
Subject: Re: What does lstat do?
References: <371B9DE5 DOT 9A7A4351 AT pallen DOT dabsol DOT co DOT uk>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

If you want to emulate lstat, do this:

#define lstat stat

However, djgpp does *not* support symbolic links per se, and programs
that fail because lstat is missing will probably have other
portability issues as well.  You're better off reviewing the program
to find out *why* it needs lstat, to see if you can get away with the
#define above.

- Raw text -


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