1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-14 03:12:10 +02:00

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.
This commit is contained in:
Eric Blake
2009-09-03 21:59:54 -06:00
committed by Jim Meyering
parent 722287e443
commit c756343503
3 changed files with 6 additions and 9 deletions

View File

@@ -78,6 +78,7 @@ gnulib_modules="
euidaccess
exclude
exitfail
faccessat
fchdir
fcntl
fcntl-safer
@@ -197,7 +198,7 @@ gnulib_modules="
stdlib-safer
stpcpy
stpncpy
strdup
strdup-posix
strftime
strpbrk
strtoimax