[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: improve unlink on Solaris
From: |
Jim Meyering |
Subject: |
Re: improve unlink on Solaris |
Date: |
Thu, 17 Sep 2009 22:47:10 +0200 |
Eric Blake wrote:
> I'm working on a patch to fix unlink("file/") on Solaris 9. But as a
> prerequisite (to avoid anyone corrupting their file system if running the unit
> test as root, and accidentally unlinking an empty directory), I noticed that
> mingw failed to compile unlinkdir.c due to a missing geteuid. This works
> around it:
>
>
> From: Eric Blake <address@hidden>
> Date: Wed, 16 Sep 2009 17:18:28 -0600
> Subject: [PATCH] unlinkdir: port to mingw
>
> * m4/unlinkdir.m4 (gl_UNLINKDIR): Add mingw to list of platforms
> that refuse anyone to unlink a directory.
Looks good. Thanks!
$s/.*/for which no one can unlink a directory./