]> Savannah Git Hosting - gnulib.git/commitdiff
New modules 'at-internal', 'openat-h', split off from module 'openat'.
authorBruno Haible <bruno@clisp.org>
Sat, 5 Nov 2011 10:35:57 +0000 (11:35 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 5 Nov 2011 10:35:57 +0000 (11:35 +0100)
* m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_OPENAT. Don't
invoke gl_PREREQ_OPENAT and gl_MODULE_INDICATOR.
* modules/openat (Description): Add reference to POSIX function.
(Files): Remove lib/openat.h, lib/openat-proc.c.
(Depends-on): Add at-internal, openat-h. Remove fdopendir, gettext-h,
intprops, unistd.
(configure.ac): Remove AC_LIBOBJ of openat-proc. Invoke
gl_PREREQ_OPENAT, gl_MODULE_INDICATOR here. Invoke
gl_FCNTL_MODULE_INDICATOR.
(Include): Remove unistd.h, openat.h.
* modules/areadlinkat (Files): Add lib/at-func.c.
(Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
openat-die, openat-h, save-cwd.
* modules/areadlinkat-with-size (Files): Add lib/at-func.c.
(Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
openat-die, openat-h, save-cwd, unistd.
* modules/faccessat (Files): Add lib/at-func.c, lib/openat-priv.h.
(Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
openat-h, save-cwd. Remove fcntl-h, openat.
* modules/fchmodat (Files): Remove lib/openat.h.
(Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
openat, stdbool, unistd.
* modules/fchownat (Files): Remove lib/openat.h.
(Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
openat, stdbool, sys_stat.
* modules/fdopendir (Files): Remove lib/openat-priv.h,
lib/openat-proc.c.
(Depends-on): Add at-internal.
(condigure.ac): Remove AC_LIBOBJ of openat-proc.
* modules/fstatat (Files): Remove lib/openat.h.
(Depends-on): Add at-internal, openat-h. Remove dirent, openat,
stdbool, unistd.
* modules/fts (Depends-on): Add openat-h.
* modules/linkat (Depends-on): Add at-internal, openat-h. Remove
openat.
* modules/mkdirat (Files): Remove lib/openat.h.
(Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
openat, stdbool, sys_stat.
* modules/mkfifoat (Files): Add lib/at-func.c.
(Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
openat-h, save-cwd. Remove fcntl-h, openat.
* modules/openat-die (Depends-on): Add openat-h. Remove openat.
* modules/readlinkat (Files): Add lib/at-func.c.
(Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
openat-h, save-cwd. Remove fcntl-h, openat.
* modules/renameat (Depends-on): Add at-internal, openat-h. Remove
openat.
* modules/selinux-at (Files): Add lib/at-func.c.
(Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
fcntl-h, openat-die, openat-h, save-cwd, unistd. Remove openat.
* modules/symlinkat (Files): Add lib/at-func.c.
(Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
openat-h, save-cwd. Remove fcntl-h, openat.
* modules/unlinkat (Files): Remove lib/openat.h.
(Depends-on): Add at-internal, openat-h. Remove dirent, openat,
stdbool.
* modules/utimensat (Files): Add lib/at-func.c.
(Depends-on): Add at-internal, dosname, errno, fchdir, fcntl-h,
openat-die, openat-h, save-cwd.
* modules/fchownat-tests (Depends-on): Add openat-h. Remove openat.
* modules/fdutimensat-tests (Depends-on): Add openat.
* modules/fstatat-tests (Depends-on): Add openat-h.
* modules/readlinkat-tests (Depends-on): Add openat.
* modules/symlinkat-tests (Depends-on): Add openat.

26 files changed:
ChangeLog
m4/openat.m4
modules/areadlinkat
modules/areadlinkat-with-size
modules/faccessat
modules/fchmodat
modules/fchownat
modules/fchownat-tests
modules/fdopendir
modules/fdutimensat-tests
modules/fstatat
modules/fstatat-tests
modules/fts
modules/linkat
modules/mkdirat
modules/mkfifoat
modules/openat
modules/openat-die
modules/readlinkat
modules/readlinkat-tests
modules/renameat
modules/selinux-at
modules/symlinkat
modules/symlinkat-tests
modules/unlinkat
modules/utimensat

index 2dd6a8aff70baea864a7962add17ccc6eb3637c5..d07a4b1f459d79ad0c44d2a30f59face3abc0883 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,71 @@
+2011-11-05  Bruno Haible  <bruno@clisp.org>
+
+       New modules 'at-internal', 'openat-h', split off from module 'openat'.
+       * m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_OPENAT. Don't
+       invoke gl_PREREQ_OPENAT and gl_MODULE_INDICATOR.
+       * modules/openat (Description): Add reference to POSIX function.
+       (Files): Remove lib/openat.h, lib/openat-proc.c.
+       (Depends-on): Add at-internal, openat-h. Remove fdopendir, gettext-h,
+       intprops, unistd.
+       (configure.ac): Remove AC_LIBOBJ of openat-proc. Invoke
+       gl_PREREQ_OPENAT, gl_MODULE_INDICATOR here. Invoke
+       gl_FCNTL_MODULE_INDICATOR.
+       (Include): Remove unistd.h, openat.h.
+       * modules/areadlinkat (Files): Add lib/at-func.c.
+       (Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
+       openat-die, openat-h, save-cwd.
+       * modules/areadlinkat-with-size (Files): Add lib/at-func.c.
+       (Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
+       openat-die, openat-h, save-cwd, unistd.
+       * modules/faccessat (Files): Add lib/at-func.c, lib/openat-priv.h.
+       (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
+       openat-h, save-cwd. Remove fcntl-h, openat.
+       * modules/fchmodat (Files): Remove lib/openat.h.
+       (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
+       openat, stdbool, unistd.
+       * modules/fchownat (Files): Remove lib/openat.h.
+       (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
+       openat, stdbool, sys_stat.
+       * modules/fdopendir (Files): Remove lib/openat-priv.h,
+       lib/openat-proc.c.
+       (Depends-on): Add at-internal.
+       (condigure.ac): Remove AC_LIBOBJ of openat-proc.
+       * modules/fstatat (Files): Remove lib/openat.h.
+       (Depends-on): Add at-internal, openat-h. Remove dirent, openat,
+       stdbool, unistd.
+       * modules/fts (Depends-on): Add openat-h.
+       * modules/linkat (Depends-on): Add at-internal, openat-h. Remove
+       openat.
+       * modules/mkdirat (Files): Remove lib/openat.h.
+       (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
+       openat, stdbool, sys_stat.
+       * modules/mkfifoat (Files): Add lib/at-func.c.
+       (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
+       openat-h, save-cwd. Remove fcntl-h, openat.
+       * modules/openat-die (Depends-on): Add openat-h. Remove openat.
+       * modules/readlinkat (Files): Add lib/at-func.c.
+       (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
+       openat-h, save-cwd. Remove fcntl-h, openat.
+       * modules/renameat (Depends-on): Add at-internal, openat-h. Remove
+       openat.
+       * modules/selinux-at (Files): Add lib/at-func.c.
+       (Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
+       fcntl-h, openat-die, openat-h, save-cwd, unistd. Remove openat.
+       * modules/symlinkat (Files): Add lib/at-func.c.
+       (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
+       openat-h, save-cwd. Remove fcntl-h, openat.
+       * modules/unlinkat (Files): Remove lib/openat.h.
+       (Depends-on): Add at-internal, openat-h. Remove dirent, openat,
+       stdbool.
+       * modules/utimensat (Files): Add lib/at-func.c.
+       (Depends-on): Add at-internal, dosname, errno, fchdir, fcntl-h,
+       openat-die, openat-h, save-cwd.
+       * modules/fchownat-tests (Depends-on): Add openat-h. Remove openat.
+       * modules/fdutimensat-tests (Depends-on): Add openat.
+       * modules/fstatat-tests (Depends-on): Add openat-h.
+       * modules/readlinkat-tests (Depends-on): Add openat.
+       * modules/symlinkat-tests (Depends-on): Add openat.
+
 2011-11-05  Bruno Haible  <bruno@clisp.org>
 
        openat: Include <stdbool.h>.
index 97a821f9019f0a11c08826023cec3dc95d648d60..cf42440f8668e25415943a2ab2af94bd3d7a2734 100644 (file)
@@ -1,4 +1,4 @@
-# serial 42
+# serial 43
 # See if we need to use our replacement for Solaris' openat et al functions.
 
 dnl Copyright (C) 2004-2011 Free Software Foundation, Inc.
@@ -11,8 +11,6 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FUNC_OPENAT],
 [
   AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
-  GNULIB_OPENAT=1
-
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   AC_CHECK_FUNCS_ONCE([openat])
   AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
@@ -26,13 +24,11 @@ AC_DEFUN([gl_FUNC_OPENAT],
     ;;
   *)
     HAVE_OPENAT=0
-    gl_PREREQ_OPENAT;;
+    ;;
   esac
-
-  dnl This is tested at least via getcwd.c.
-  gl_MODULE_INDICATOR([openat])
 ])
 
+# Prerequisites of lib/openat.c.
 AC_DEFUN([gl_PREREQ_OPENAT],
 [
   AC_REQUIRE([AC_C_INLINE])
index 8c621d5757a832c874b345f192f00f3ec23a7402..16c77d58625f19f9f80072a81733facb59438692 100644 (file)
@@ -4,11 +4,20 @@ Reading symbolic links without size limitation, relative to fd.
 Files:
 lib/areadlink.h
 lib/areadlinkat.c
+lib/at-func.c
 
 Depends-on:
 areadlink
 careadlinkat
 readlinkat
+at-internal
+dosname
+errno
+extensions
+fchdir
+openat-die
+openat-h
+save-cwd
 
 configure.ac:
 gl_MODULE_INDICATOR([areadlinkat])
index 162defe5e36f9401e8dd8df0a4ae8ba86d5545c4..092af0f2a86c712975f8d735916dd5277a8b0f6d 100644 (file)
@@ -4,11 +4,21 @@ Read a symbolic link, without size limitations, relative to fd.
 Files:
 lib/areadlink.h
 lib/areadlinkat-with-size.c
+lib/at-func.c
 
 Depends-on:
 areadlink-with-size
 stdint
 readlinkat
+at-internal
+dosname
+errno
+extensions
+fchdir
+openat-die
+openat-h
+save-cwd
+unistd
 
 configure.ac:
 gl_MODULE_INDICATOR([areadlinkat-with-size])
index ce8fa0d8929e19eb208c360b6e9d1f48bccb426e..6fc43545e4ed6f788c00110f11c7db57cd458be2 100644 (file)
@@ -3,14 +3,21 @@ faccessat() function: check user's permissions for a file.
 
 Files:
 lib/faccessat.c
+lib/at-func.c
+lib/openat-priv.h
 m4/faccessat.m4
 
 Depends-on:
-unistd
+at-internal
+dosname
+errno
 extensions
-fcntl-h
+fchdir
+openat-die
+openat-h
+save-cwd
+unistd
 euidaccess      [test $HAVE_FACCESSAT = 0]
-openat          [test $HAVE_FACCESSAT = 0]
 
 configure.ac:
 gl_FUNC_FACCESSAT
index 7613549839c355a34c082f544bb8a071de71f82e..67881c6318802a55f19d18aa793246c875849047 100644 (file)
@@ -4,23 +4,19 @@ fchmodat() function: Change access permissions of a file at a directory.
 Files:
 lib/fchmodat.c
 lib/at-func.c
-lib/openat.h
 lib/openat-priv.h
 m4/fchmodat.m4
 
 Depends-on:
-dirent
+at-internal
 dosname
 errno
 extensions
 fchdir
-fcntl-h
-openat
 openat-die
+openat-h
 save-cwd
-stdbool
 sys_stat
-unistd
 
 configure.ac:
 gl_FUNC_FCHMODAT
index a0ee9b1fc13b72ba0171ca541a55d5fcb47035fd..97a84e48cfed7a02b8a1443aae725d4955c9b5d0 100644 (file)
@@ -4,24 +4,20 @@ fchownat() function: Change the owner of a file at a directory.
 Files:
 lib/fchownat.c
 lib/at-func.c
-lib/openat.h
 lib/openat-priv.h
 m4/fchownat.m4
 
 Depends-on:
-dirent
+at-internal
 dosname
 errno
 extensions
 fchdir
-fcntl-h
 fstatat
 lchown          [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
-openat
 openat-die
+openat-h
 save-cwd
-stdbool
-sys_stat
 unistd
 
 configure.ac:
index 9252b1e6b17bb88efee0369da3120f8adb7e74e8..1b79d47f556ea444de43f9902aae6360ec13dfcc 100644 (file)
@@ -9,7 +9,7 @@ tests/macros.h
 Depends-on:
 ignore-value
 mgetgroups
-openat
+openat-h
 progname
 usleep
 stat-time
index 9cdf58e1d0024b88bdc151b56492cee106cfae3b..ee9a875396c2669919d229281b650b18baffc0fb 100644 (file)
@@ -3,13 +3,12 @@ Open a directory stream from a file descriptor.
 
 Files:
 lib/fdopendir.c
-lib/openat-priv.h
-lib/openat-proc.c
 m4/fdopendir.m4
 
 Depends-on:
 dirent
 extensions
+at-internal     [test $HAVE_FDOPENDIR = 0]
 dup             [test $HAVE_FDOPENDIR = 0]
 errno           [test $HAVE_FDOPENDIR = 0]
 fchdir          [test $HAVE_FDOPENDIR = 0]
@@ -23,9 +22,6 @@ gl_FUNC_FDOPENDIR
 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
   AC_LIBOBJ([fdopendir])
 fi
-if test $HAVE_FDOPENDIR = 0; then
-  AC_LIBOBJ([openat-proc])
-fi
 gl_DIRENT_MODULE_INDICATOR([fdopendir])
 gl_MODULE_INDICATOR([fdopendir])
 
index 8c1dc390930604df869fa1c8492f9cf73659b097..1ca9b0a52e8026100e91b749ff56845b1b6789de 100644 (file)
@@ -9,6 +9,7 @@ tests/macros.h
 
 Depends-on:
 ignore-value
+openat
 timespec
 dup
 usleep
index 77e7a9b9310f27cbcb0948cadec712416e7bdcd9..baea7cd51e08512943ef2021077a4e1e957b14a2 100644 (file)
@@ -4,12 +4,11 @@ fstatat() function: Return information about a file at a directory.
 Files:
 lib/fstatat.c
 lib/at-func.c
-lib/openat.h
 lib/openat-priv.h
 m4/fstatat.m4
 
 Depends-on:
-dirent
+at-internal
 dosname
 errno
 extensions
@@ -17,12 +16,10 @@ fchdir
 fcntl-h
 fstat
 lstat
-openat
 openat-die
+openat-h
 save-cwd
-stdbool
 sys_stat
-unistd
 
 configure.ac:
 gl_FUNC_FSTATAT
index f33ff11f0d92552118a27ce17d765a0c97410e5d..25dc559897cc01dfb009ba2e1a2c7b0136185861 100644 (file)
@@ -8,6 +8,7 @@ tests/macros.h
 Depends-on:
 getcwd-lgpl
 ignore-value
+openat-h
 progname
 symlink
 
index b879134810aa49a97439eaf72a5aa09c4c9c9a73..62c329bfe595690dc46517f02077445ed9ea20b7 100644 (file)
@@ -23,6 +23,7 @@ hash
 i-ring
 lstat
 memmove
+openat-h
 openat-safer
 opendir
 readdir
index 0ec207ed59f92b0661018fc8fe4183a4062637e8..3b6559d6bf6502101a7c61b276fec170bbb3ffcb 100644 (file)
@@ -11,6 +11,7 @@ unistd
 extensions
 areadlink        [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 areadlinkat      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+at-internal      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 dirname-lgpl     [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 dosname          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 errno            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
@@ -19,7 +20,7 @@ filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 fstat            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 fstatat          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 getcwd-lgpl      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
-openat           [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+openat-h         [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 openat-die       [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 link             [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 link-follow      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
index d59689c79e00951e00e103db884466488a64038c..f3b85113319156559b31e8a60c1b7426ed3e0242 100644 (file)
@@ -4,23 +4,19 @@ mkdirat() function: Create a directory relative to a given directory.
 Files:
 lib/mkdirat.c
 lib/at-func.c
-lib/openat.h
 lib/openat-priv.h
 m4/mkdirat.m4
 
 Depends-on:
-dirent
+at-internal
 dosname
 errno
 extensions
 fchdir
-fcntl-h
 mkdir           [test $HAVE_MKDIRAT = 0]
-openat
 openat-die
+openat-h
 save-cwd
-stdbool
-sys_stat
 unistd
 
 configure.ac:
index 6197d64b0f12f1dac1bf5e100465154cf39ccd87..443efc996bf48c03da9645e8be4d2f6d2a421fe9 100644 (file)
@@ -4,15 +4,21 @@ mkfifoat() and mknodat(): create named FIFOs relative to a directory
 Files:
 lib/mkfifoat.c
 lib/mknodat.c
+lib/at-func.c
 m4/mkfifoat.m4
 
 Depends-on:
-sys_stat
+at-internal
+dosname
+errno
 extensions
-fcntl-h
+fchdir
+openat-die
+openat-h
+save-cwd
+sys_stat
 mkfifo          [test $HAVE_MKFIFOAT = 0]
 mknod           [test $HAVE_MKNODAT = 0]
-openat          [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
 
 configure.ac:
 gl_FUNC_MKFIFOAT
index c051e71823b8ac16edc027949245e822b898ef50..995c280cb3885f584757b5e2815379830f07cf5c 100644 (file)
@@ -1,46 +1,42 @@
 Description:
-Open a file at a directory.
+openat() function: Open a file at a directory.
 
 Files:
 lib/at-func.c
 lib/openat.c
-lib/openat.h
 lib/openat-priv.h
-lib/openat-proc.c
 m4/openat.m4
 m4/mode_t.m4
 
 Depends-on:
+at-internal
 dosname
 errno
 extensions
 fchdir
 fcntl-h
-fdopendir
 fstat
-gettext-h
-intprops
 largefile
 open
 openat-die
+openat-h
 save-cwd
 stdbool
 sys_stat
-unistd
 
 configure.ac:
 gl_FUNC_OPENAT
-AC_LIBOBJ([openat-proc])
 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
   AC_LIBOBJ([openat])
+  gl_PREREQ_OPENAT
 fi
+gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
+gl_FCNTL_MODULE_INDICATOR([openat])
 
 Makefile.am:
 
 Include:
 <fcntl.h>
-<unistd.h>
-"openat.h"
 
 License:
 GPL
index 76cc44dc17f32e20e9ff35359b18161fffcb7636..08bef776f6a008c3c7caaa8b650b9fe4824f710c 100644 (file)
@@ -5,10 +5,10 @@ Files:
 lib/openat-die.c
 
 Depends-on:
-openat
+openat-h
 error
-gettext-h
 exitfail
+gettext-h
 
 configure.ac:
 
index ea35d8882a7e632f16bf1b493bd14962c3365b04..3bf67110b81497ea7d8f642613430695ce33b471 100644 (file)
@@ -3,13 +3,19 @@ readlinkat(): read symlinks relative to a directory
 
 Files:
 lib/readlinkat.c
+lib/at-func.c
 m4/readlinkat.m4
 
 Depends-on:
-unistd
+at-internal
+dosname
+errno
 extensions
-fcntl-h
-openat          [test $HAVE_READLINKAT = 0]
+fchdir
+openat-die
+openat-h
+save-cwd
+unistd
 readlink        [test $HAVE_READLINKAT = 0]
 
 configure.ac:
index 6c57fdfd46a92eb973c8da6e360e7cfab330d69a..1fdaa5982472ea5695c2c2929b592f1a601dffd3 100644 (file)
@@ -6,6 +6,7 @@ tests/macros.h
 
 Depends-on:
 ignore-value
+openat
 symlinkat
 unlinkat
 
index 0558fe7e6e08cb3a16bad233b185fa1a12521127..45b8e9a1b4b64edf436e1b03d86d94b7aa1d2974 100644 (file)
@@ -10,13 +10,14 @@ Depends-on:
 stdio
 extensions
 fcntl-h
+at-internal      [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 dosname          [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 fstat            [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 fstatat          [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 getcwd-lgpl      [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
-openat           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 openat-die       [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
+openat-h         [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 rename           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 same-inode       [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 save-cwd         [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
index 925219d1113234cca6a19969fedd175a070025e4..62dd6e68245e55d5bb4973578dc07feae269ec2b 100644 (file)
@@ -2,12 +2,22 @@ Description:
 openat-style fd-relative functions for SE Linux
 
 Files:
-lib/selinux-at.c
 lib/selinux-at.h
+lib/selinux-at.c
+lib/at-func.c
 
 Depends-on:
-openat
 selinux-h
+at-internal
+dosname
+errno
+extensions
+fchdir
+fcntl-h
+openat-die
+openat-h
+save-cwd
+unistd
 
 configure.ac:
 AC_CHECK_HEADERS([selinux/flask.h])
index 7636b293614b5aa655eda2e4bccffddeca0faa5a..93bded1d889e4f591cbf6f044dac9039f95d41da 100644 (file)
@@ -3,13 +3,19 @@ symlinkat(): create symlinks relative to a directory
 
 Files:
 lib/symlinkat.c
+lib/at-func.c
 m4/symlinkat.m4
 
 Depends-on:
-unistd
+at-internal
+dosname
+errno
 extensions
-fcntl-h
-openat          [test $HAVE_SYMLINKAT = 0]
+fchdir
+openat-die
+openat-h
+save-cwd
+unistd
 symlink         [test $HAVE_SYMLINKAT = 0]
 
 configure.ac:
index 90331494a4dc5d44f5907b41707fbd423786932d..c8a05ff81d5d5bfbcfb1241ad20dbbb72891c218 100644 (file)
@@ -6,6 +6,7 @@ tests/macros.h
 
 Depends-on:
 ignore-value
+openat
 
 configure.ac:
 
index 405c2fb53500f84091368a79a4b4d879641af35f..7ab422ec87738da77185ae85bfdb06b9c2943a2a 100644 (file)
@@ -4,23 +4,21 @@ unlinkat() function: Remove a file at a directory.
 Files:
 lib/unlinkat.c
 lib/at-func.c
-lib/openat.h
 lib/openat-priv.h
 m4/unlinkat.m4
 
 Depends-on:
-dirent
+at-internal
 dosname
 errno
 extensions
 fchdir
 fcntl-h
 fstatat
-openat
 openat-die
+openat-h
 rmdir           [test $HAVE_UNLINKAT = 0]
 save-cwd
-stdbool
 sys_stat
 unistd
 unlink          [test $HAVE_UNLINKAT = 0]
index 9f3ec7efcffc8dcc7ed62ae9605c287b7964ef43..1839d435e5e0e3d27e73c34d606d2cb50cbbeea2 100644 (file)
@@ -3,11 +3,20 @@ Set file access and modification times of a file relative to a directory fd.
 
 Files:
 lib/utimensat.c
+lib/at-func.c
 m4/utimensat.m4
 
 Depends-on:
-sys_stat
+at-internal
+dosname
+errno
 extensions
+fchdir
+fcntl-h
+openat-die
+openat-h
+save-cwd
+sys_stat
 fstatat         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
 utimens         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]