* bootstrap.conf (gnulib_modules): Add fdopendir.
* gzip.c (treat_dir): Don't depend on HAVE_FDOPENDIR.
Gnulib now guarantees its availability.
* configure.ac: Don't check for fdopendir here.
SUBDIRS = lib doc
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I$(top_srcdir)/lib
-AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
+AM_CFLAGS = $(WARN_CFLAGS) # $(WERROR_CFLAGS)
man_MANS = gunzip.1 gzexe.1 gzip.1 \
zcat.1 zcmp.1 zdiff.1 zforce.1 zgrep.1 zless.1 zmore.1 znew.1
fcntl
fcntl-safer
fdl
+fdopendir
fprintf-posix
getopt-gnu
git-version-gen
gitlog-to-changelog
gnu-make
gnu-web-doc-update
-gnupload
gnumakefile
+gnupload
lstat
maintainer-makefile
malloc
AC_C_CONST
AC_HEADER_STDC
AC_CHECK_HEADERS_ONCE(fcntl.h limits.h memory.h time.h)
-AC_CHECK_FUNCS_ONCE([chown fchmod fchown fdopendir lstat siginterrupt])
+AC_CHECK_FUNCS_ONCE([chown fchmod fchown lstat siginterrupt])
AC_HEADER_DIRENT
AC_TYPE_SIGNAL
AC_TYPE_SIZE_T
char nbuf[MAX_PATH_LEN];
int len;
-#if HAVE_FDOPENDIR
dirp = fdopendir (fd);
-#else
- close (fd);
- dirp = opendir(dir);
-#endif
if (dirp == NULL) {
progerror(dir);
-#if HAVE_FDOPENDIR
close (fd);
-#endif
return ;
}
/*
alloca.h
alloca.in.h
asnprintf.c
+at-func.c
+basename-lgpl.c
calloc.c
charset.alias
+chdir-long.c
+chdir-long.h
+chown.c
close-hook.c
close-hook.h
close-stream.c
config.hin
configmake.h
creat-safer.c
+dirent.h
+dirent.in.h
+dirfd.c
+dirname-lgpl.c
+dirname.h
dup-safer.c
dup2.c
errno.h
error.h
exitfail.c
exitfail.h
+fchdir.c
+fchmodat.c
+fchown-stub.c
+fchownat.c
fclose.c
fcntl--.h
fcntl-safer.h
fcntl.in.h
fcntl_.h
fd-safer.c
+fdopendir.c
fflush.c
float+.h
float.h
fseeko.c
fseterr.c
fseterr.h
+fstatat.c
ftello.c
+getcwd.c
getopt.c
getopt.h
getopt.in.h
isnanf.c
isnanl-nolibm.h
isnanl.c
+lchown.c
libgzip.a
localcharset.c
localcharset.h
mbsinit.c
memchr.c
memchr.valgrind
+mempcpy.c
+memrchr.c
+mkdir.c
+mkdirat.c
open-safer.c
open.c
+openat-die.c
+openat-priv.h
+openat-proc.c
+openat.c
+openat.h
perror.c
pipe-safer.c
printf-args.c
ref-add.sin
ref-del.sed
ref-del.sin
+rmdir.c
+same-inode.h
+save-cwd.c
+save-cwd.h
signbitd.c
signbitf.c
signbitl.c
stdlib.h
stdlib.in.h
stdlib_.h
+strdup.c
streq.h
strerror.c
string.h
string.in.h
+stripslash.c
sys
sys_stat.h
sys_stat.in.h
unistd.h
unistd.in.h
unistd_.h
+unlink.c
+unlinkat.c
utimens.c
utimens.h
vasnprintf.c
wctype_.h
xalloc-die.c
xalloc.h
+xgetcwd.c
+xgetcwd.h
xmalloc.c
xsize.h
yesno.c
absolute-header.m4
alloca.m4
calloc.m4
+chdir-long.m4
+chown.m4
clock_time.m4
close-stream.m4
close.m4
closein.m4
closeout.m4
codeset.m4
+d-ino.m4
+dirent_h.m4
+dirfd.m4
+dirname.m4
dos.m4
+double-slash-root.m4
dup2.m4
errno_h.m4
error.m4
exponentf.m4
exponentl.m4
extensions.m4
+fchdir.m4
fclose.m4
fcntl-safer.m4
fcntl_h.m4
+fdopendir.m4
fflush.m4
float_h.m4
fpending.m4
frexpl.m4
fseeko.m4
ftello.m4
+getcwd-abort-bug.m4
+getcwd-path-max.m4
+getcwd.m4
getopt.m4
getpagesize.m4
gettime.m4
isnand.m4
isnanf.m4
isnanl.m4
+lchown.m4
ldexpl.m4
localcharset.m4
locale-fr.m4
mbsinit.m4
mbstate_t.m4
memchr.m4
+mempcpy.m4
+memrchr.m4
+mkdir.m4
mmap-anon.m4
mode_t.m4
multiarch.m4
printf.m4
quotearg.m4
realloc.m4
+rmdir.m4
+save-cwd.m4
signbit.m4
size_max.m4
stat-time.m4
stdint_h.m4
stdio_h.m4
stdlib_h.m4
+strdup.m4
strerror.m4
string_h.m4
sys_stat_h.m4
timespec.m4
unistd-safer.m4
unistd_h.m4
+unlink.m4
utimbuf.m4
utimens.m4
utimes.m4
wctype.m4
wint_t.m4
xalloc.m4
+xgetcwd.m4
xsize.m4
yesno.m4