[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rm: avoiding a race condition on non-glibc systems
From: |
Jim Meyering |
Subject: |
Re: rm: avoiding a race condition on non-glibc systems |
Date: |
Sat, 14 May 2005 08:34:36 +0200 |
Paul Eggert <address@hidden> wrote:
...
> How about this patch? It incorporates the above ideas.
>
> 2005-05-13 Paul Eggert <address@hidden>
>
> * m4/prereqs.m4 (gl_PREREQ): Require gl_UNLINKDIR.
> * src/remove.c: Include unlinkdir.h.
> (UNLINK_CAN_UNLINK_DIRS): Remove.
> (remove_entry): Use cannot_unlink_dirs () rather than
> UNLINK_CAN_UNLINK_DIRS.
> * lib/unlinkdir.c, lib/unlinkdir.h: New files.
> * m4/unlinkdir.m4: New file.
That looks fine, and works fine here.
Please commit it.
I'll see if I can find someone to test the give-up-privilege
code as root on Solaris 10.