fts, getcwd, glob: audit for dirfd returning -1
[pspp] / modules / getcwd
index ed46a17ca641449bcbbfb9dc753803b484dc008a..108f14b28a022592f4a8caac9f3dccfc3d530d77 100644 (file)
@@ -2,23 +2,30 @@ Description:
 Return the current working directory.
 
 Files:
-lib/getcwd.h
 lib/getcwd.c
-m4/d-ino.m4
+m4/getcwd-abort-bug.m4
 m4/getcwd-path-max.m4
 m4/getcwd.m4
 
 Depends-on:
 mempcpy
+d-ino
+extensions
+memmove
+openat
+stdbool
+unistd
+malloc-posix
+strdup-posix
 
 configure.ac:
 gl_FUNC_GETCWD
+gl_UNISTD_MODULE_INDICATOR([getcwd])
 
 Makefile.am:
-lib_SOURCES += getcwd.h
 
 Include:
-"getcwd.h"
+<unistd.h>
 
 License:
 GPL