From 0f5a6cf4eb2f2248950491a558b3019a0a58b9ac Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 24 Jun 2008 09:40:36 +0200 Subject: 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. --- modules/fchdir | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules/fchdir') diff --git a/modules/fchdir b/modules/fchdir index 5bfaacf435..7cb47ddda2 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -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 -- cgit v1.2.1