2 Ensure getcwd(NULL, 0) returns a buffer allocated by the malloc() function.
10 free-posix [test $REPLACE_GETCWD = 1]
11 strdup [test $REPLACE_GETCWD = 1]
15 gl_CONDITIONAL([GL_COND_OBJ_GETCWD_LGPL], [test $REPLACE_GETCWD = 1])
16 gl_UNISTD_MODULE_INDICATOR([getcwd])
19 if GL_COND_OBJ_GETCWD_LGPL
20 lib_SOURCES += getcwd-lgpl.c