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 <e...@byu.net>
> 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./


Reply via email to