[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fchownat, renameat, unlinkat: update statat dependencies
From: |
Mike Frysinger |
Subject: |
[PATCH] fchownat, renameat, unlinkat: update statat dependencies |
Date: |
Mon, 6 May 2013 20:24:41 -0400 |
These module only uses lstatat(), so depend on the statat module
which was split out recently from fstatat.
* modules/fchownat, modules/unlinkat: Change fstatat to statat.
* modules/renameat: Likewise. Also delete fstat.
URL: http://bugs.gentoo.org/468790
Reported-by: Mike Frysinger <address@hidden>
Signed-off-by: Mike Frysinger <address@hidden>
---
modules/fchownat | 2 +-
modules/renameat | 3 +--
modules/unlinkat | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/fchownat b/modules/fchownat
index 385f38d..08fb75b 100644
--- a/modules/fchownat
+++ b/modules/fchownat
@@ -20,7 +20,7 @@ lchown [test $HAVE_FCHOWNAT = 0 || test
$REPLACE_FCHOWNAT = 1]
openat-die [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
openat-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
save-cwd [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
-fstatat [test $REPLACE_FCHOWNAT = 1]
+statat [test $REPLACE_FCHOWNAT = 1]
configure.ac:
gl_FUNC_FCHOWNAT
diff --git a/modules/renameat b/modules/renameat
index ca03f9a..77d93ea 100644
--- a/modules/renameat
+++ b/modules/renameat
@@ -12,11 +12,10 @@ extensions
fcntl-h
filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
openat-h [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
-fstatat [test $REPLACE_RENAMEAT = 1]
+statat [test $REPLACE_RENAMEAT = 1]
stdbool [test $REPLACE_RENAMEAT = 1]
at-internal [test $HAVE_RENAMEAT = 0]
dosname [test $HAVE_RENAMEAT = 0]
-fstat [test $HAVE_RENAMEAT = 0]
getcwd-lgpl [test $HAVE_RENAMEAT = 0]
openat-die [test $HAVE_RENAMEAT = 0]
rename [test $HAVE_RENAMEAT = 0]
diff --git a/modules/unlinkat b/modules/unlinkat
index 97e201c..f2094e0 100644
--- a/modules/unlinkat
+++ b/modules/unlinkat
@@ -13,7 +13,7 @@ extensions
fcntl-h [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
openat-h [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
sys_stat [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
-fstatat [test $REPLACE_UNLINKAT = 1]
+statat [test $REPLACE_UNLINKAT = 1]
at-internal [test $HAVE_UNLINKAT = 0]
dosname [test $HAVE_UNLINKAT = 0]
errno [test $HAVE_UNLINKAT = 0]
--
1.8.2.1
- [PATCH] fchownat, renameat, unlinkat: update statat dependencies,
Mike Frysinger <=