delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/26/03:17:18

Message-ID: <39570457.244EB194@softhome.net>
Date: Mon, 26 Jun 2000 09:20:55 +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: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: 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>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> access does much more than just a simple call to _chmod inside
> __file_exists.  In particular, it calls findfirst to support root
> directories and devices.  Do we really need all that stuff for chown,
> which is just a no-op?  

Of course, we don't need that.

> Perhaps it is better to resolve symlinks
> inside chown?

Or maybe it is better to optimize access() for F_OK case?

Laurynas

- Raw text -


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