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 6324158..95103e8 100644 (file)
@@ -9,6 +9,7 @@ m4/chdir-safer.m4
 Depends-on:
 fchdir
 fcntl
+open
 same-inode
 stdbool
 
index 9e479a5..cf99210 100644 (file)
@@ -7,6 +7,7 @@ lib/fchown-stub.c
 m4/chown.m4
 
 Depends-on:
+open
 unistd
 sys_stat
 
index d884d92..a2e55f2 100644 (file)
@@ -10,6 +10,7 @@ stdbool
 unistd
 error
 fatal-signal
+open
 pathmax
 tmpdir
 mkdtemp
@@ -32,4 +33,3 @@ GPL
 
 Maintainer:
 Bruno Haible
-
index 7e82ce8..5f1c6e9 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 5bfaacf..7cb47dd 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 ecd0500..937b54f 100644 (file)
@@ -9,6 +9,7 @@ lib/open-safer.c
 m4/fcntl-safer.m4
 
 Depends-on:
+open
 unistd-safer
 
 configure.ac:
index 8539a0e..916794e 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 dc5dd59..9b17eca 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
-