X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ffchdir;h=46b481fd144bf76382206e47c282925e754d2583;hb=b6d1430494cdd252cd52eca6abf88b1a00f6c983;hp=ae562e72ce809713d20dd7bfdb9b2aa7a2f0a760;hpb=73f2a1c055c8dfa46d1a4db04a841d952e11c6a0;p=gnulib.git diff --git a/modules/fchdir b/modules/fchdir index ae562e72c..46b481fd1 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -3,40 +3,33 @@ fchdir() function: change current directory, given an open file descriptor. Files: lib/fchdir.c -lib/dirent_.h m4/fchdir.m4 Depends-on: -include_next +close +dirent +dirfd dup2 fcntl +fcntl-h +include_next +malloc-posix +open +realloc-posix +stat +stdbool +strdup-posix +sys_stat unistd -canonicalize-lgpl -dirfd -strdup configure.ac: gl_FUNC_FCHDIR gl_UNISTD_MODULE_INDICATOR([fchdir]) Makefile.am: -BUILT_SOURCES += $(DIRENT_H) - -# We need the following in order to create when the system -# doesn't have one that works with the given compiler. -dirent.h: dirent_.h - rm -f $@-t $@ - { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ - -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ - -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ - < $(srcdir)/dirent_.h; \ - } > $@-t - mv $@-t $@ -MOSTLYCLEANFILES += dirent.h dirent.h-t Include: -#include + License: LGPL