delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/26/16:29:28

Message-ID: <3957BE11.D56E2222@softhome.net>
Date: Mon, 26 Jun 2000 22:33:21 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Patch: chown() preparation for symlinks
References: <395643BB DOT 7109B0DA AT softhome DOT net> <200006252041 DOT XAA24142 AT alpha DOT netvision DOT net DOT il> <39570457 DOT 244EB194 AT softhome DOT net> <200006261500 DOT LAA11781 AT envy DOT delorie DOT com>
Reply-To: djgpp-workers AT delorie DOT com

DJ Delorie wrote:
> 
> > Or maybe it is better to optimize access() for F_OK case?
> 
> We can't optimize the link based on a runtime option.  Unless we can
> figure out a way to do time travel in software :-)

Well, I meant adding some kind of shortcut 
if (flags & !F_OK)
  ... skip some handling there...

Laurynas

- Raw text -


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