Mercurial > hg > octave-lyh > gnulib-hg
changeset 10248:dde1ecc647d1
make several modules depend on the "open" module
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Tue, 24 Jun 2008 09:40:36 +0200 |
parents | 03122e4acd36 |
children | 3b9d695d0822 |
files | modules/chdir-safer modules/chown modules/clean-temp modules/copy-file modules/fchdir modules/fcntl-safer modules/pipe modules/utime |
diffstat | 8 files changed, 18 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/modules/chdir-safer +++ b/modules/chdir-safer @@ -9,6 +9,7 @@ Depends-on: fchdir fcntl +open same-inode stdbool
--- a/modules/chown +++ b/modules/chown @@ -7,6 +7,7 @@ m4/chown.m4 Depends-on: +open unistd sys_stat
--- a/modules/clean-temp +++ b/modules/clean-temp @@ -10,6 +10,7 @@ unistd error fatal-signal +open pathmax tmpdir mkdtemp @@ -32,4 +33,3 @@ Maintainer: Bruno Haible -
--- a/modules/copy-file +++ b/modules/copy-file @@ -7,13 +7,14 @@ 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:
--- a/modules/fchdir +++ b/modules/fchdir @@ -7,13 +7,14 @@ m4/fchdir.m4 Depends-on: -include_next +canonicalize-lgpl +dirfd dup2 fcntl +include_next +open +strdup unistd -canonicalize-lgpl -dirfd -strdup configure.ac: gl_FUNC_FCHDIR
--- a/modules/fcntl-safer +++ b/modules/fcntl-safer @@ -9,6 +9,7 @@ m4/fcntl-safer.m4 Depends-on: +open unistd-safer configure.ac: