Message-ID: <39572B05.5CD0DF5A@softhome.net> Date: Mon, 26 Jun 2000 12:05:57 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: lt,en MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp-workers AT delorie DOT com Subject: Re: Patch: chown() preparation for symlinks References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: > > On Mon, 26 Jun 2000, Laurynas Biveinis wrote: > > > Or maybe it is better to optimize access() for F_OK case? > > We can't, unless I'm missing something. AFAIK, all the added complexity > *is* for the F_OK case. As I can see, all the complexity there is for the case when _chmod() fails, for root directories and device files. So the performance loss should be pretty small for real applications. BTW, should chown() succeed for those root directories and device files? If yes, then access() should be used there anyway. Laurynas