X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ffchdir;h=46b481fd144bf76382206e47c282925e754d2583;hb=c93f15eceb7bad3fd57d32ebf7f0676fb5fd3247;hp=e7d8eec57cd4a3ff1927d1fb3bbc02fe427d1a0f;hpb=d638ad2325cc24731a6deda2cb8d530d1c380a3a;p=gnulib.git diff --git a/modules/fchdir b/modules/fchdir index e7d8eec57..46b481fd1 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -3,18 +3,23 @@ fchdir() function: change current directory, given an open file descriptor. Files: lib/fchdir.c -lib/dirent.in.h m4/fchdir.m4 Depends-on: -canonicalize-lgpl close +dirent dirfd dup2 fcntl +fcntl-h include_next +malloc-posix open -strdup +realloc-posix +stat +stdbool +strdup-posix +sys_stat unistd configure.ac: @@ -22,24 +27,9 @@ 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.in.h - rm -f $@-t $@ - { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ - -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ - -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ - -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ - < $(srcdir)/dirent.in.h; \ - } > $@-t - mv $@-t $@ -MOSTLYCLEANFILES += dirent.h dirent.h-t Include: -#include + License: LGPL