make several modules depend on the "open" module
authorJim Meyering <meyering@redhat.com>
Tue, 24 Jun 2008 07:40:36 +0000 (09:40 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 26 Jun 2008 05:58:28 +0000 (07:58 +0200)
This provides slightly increased consistency when opening-for-write
the name of a non-directory spelled with a trailing slash.
* modules/chdir-safer: Likewise.
* modules/chown: Likewise.
* modules/clean-temp: Likewise.
* modules/copy-file: Likewise.
* modules/fchdir: Likewise.
* modules/fcntl-safer: Likewise.
* modules/pipe: Likewise.
* modules/utime: Likewise.
Prompted by Eric Blake and Bruno Haible.

modules/chdir-safer
modules/chown
modules/clean-temp
modules/copy-file
modules/fchdir
modules/fcntl-safer
modules/pipe
modules/utime

index 6324158d62cbc91fe7671564af3a4fb4fd17aa64..95103e8e5b67a81e720ed80756d3051baf41a775 100644 (file)
@@ -9,6 +9,7 @@ m4/chdir-safer.m4
 Depends-on:
 fchdir
 fcntl
+open
 same-inode
 stdbool
 
index 9e479a5090bb06815009fea02cd0970305ae6344..cf9921089b90ac189647c1c9d69055203313a8f4 100644 (file)
@@ -7,6 +7,7 @@ lib/fchown-stub.c
 m4/chown.m4
 
 Depends-on:
+open
 unistd
 sys_stat
 
index d884d9251600ce10577fe494db25fffc6343d43b..a2e55f24b0c1c789b05547d269616ae8778c4c0c 100644 (file)
@@ -10,6 +10,7 @@ stdbool
 unistd
 error
 fatal-signal
+open
 pathmax
 tmpdir
 mkdtemp
@@ -32,4 +33,3 @@ GPL
 
 Maintainer:
 Bruno Haible
-
index 7e82ce81ac53298703fefa886a82116013d223f6..5f1c6e96e2482b34472034bb01af97efe7a599cd 100644 (file)
@@ -7,13 +7,14 @@ lib/copy-file.c
 m4/copy-file.m4
 
 Depends-on:
-error
-safe-read
-full-write
 acl
 binary-io
+error
 exit
+full-write
 gettext-h
+open
+safe-read
 unistd
 
 configure.ac:
index 5bfaacf43538d8051c5b9e647ac17c0a8c8e08ba..7cb47ddda264662cf64e0ea96c2b7ecaeec9b5a5 100644 (file)
@@ -7,13 +7,14 @@ lib/dirent.in.h
 m4/fchdir.m4
 
 Depends-on:
-include_next
-dup2
-fcntl
-unistd
 canonicalize-lgpl
 dirfd
+dup2
+fcntl
+include_next
+open
 strdup
+unistd
 
 configure.ac:
 gl_FUNC_FCHDIR
index ecd05009013572a0abd097b2aeefd1b7ab4babde..937b54f2a8daf1c5f41e9c73cf50882c5403fd6a 100644 (file)
@@ -9,6 +9,7 @@ lib/open-safer.c
 m4/fcntl-safer.m4
 
 Depends-on:
+open
 unistd-safer
 
 configure.ac:
index 8539a0e8f4b992bbc2f211fbbeed6f5eae7e3218..916794e6fd6d20aa48a96543e149cc10f1edf0e1 100644 (file)
@@ -8,16 +8,17 @@ lib/w32spawn.h
 m4/pipe.m4
 
 Depends-on:
-wait-process
+environ
 error
 exit
 fatal-signal
 gettext-h
+open
 stdbool
 strpbrk
 unistd
 unistd-safer
-environ
+wait-process
 
 configure.ac:
 gl_PIPE
index dc5dd59b6694b282d68765459715e51f010a78e1..9b17eca8da0dd746f890f38caeb34dac38c60c11 100644 (file)
@@ -9,8 +9,9 @@ m4/utimes.m4
 m4/utimes-null.m4
 
 Depends-on:
-safe-read
+open
 full-write
+safe-read
 
 configure.ac:
 gl_FUNC_UTIME
@@ -29,4 +30,3 @@ GPL
 
 Maintainer:
 Jim Meyering
-