rm: use gnulib faccessat
authorEric Blake <ebb9@byu.net>
Fri, 4 Sep 2009 03:59:54 +0000 (21:59 -0600)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Sep 2009 12:08:58 +0000 (14:08 +0200)
commitc7563435034fe72cb7fa4f8129062f18eef2906d
treea938068a94716836629b7fa0c2075bf7723086de
parent722287e443c93e04e724e2812857a395cfab0b60
rm: use gnulib faccessat

* bootstrap.conf (gnulib_modules): Add faccessat.  Replace strdup
with strdup-posix.
* m4/jm-macros.m4 (coreutils_MACROS): Revert previous change, now
that gnulib does it for us.
* src/remove.c (write_protected_non_symlink): Use faccessat in
more situations.
bootstrap.conf
m4/jm-macros.m4
src/remove.c