1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-09-14 00:21:53 +03:00
Files
gnulib/modules/getcwd-lgpl
Bruno Haible 2a99a564a4 Rename module unistd to unistd-h.
* modules/unistd-h: Renamed from modules/unistd.
* modules/unistd-h-tests: Renamed from modules/unistd-tests.
* modules/unistd-h-c++-tests: Renamed from modules/unistd-c++-tests.
* tests/test-unistd-h.c: Renamed from tests/test-unistd.c.
* tests/test-unistd-h-c++.cc: Renamed from tests/test-unistd-c++.cc.
* doc/posix-headers/unistd.texi: Update.
* doc/posix-functions/_exit.texi: Update.
* modules/* (Depends-on): Update.
* modules/unistd: New file.
2024-12-27 23:42:32 +01:00

31 lines
517 B
Plaintext

Description:
Ensure getcwd(NULL, 0) returns a buffer allocated by the malloc() function.
Files:
lib/getcwd-lgpl.c
m4/getcwd.m4
Depends-on:
unistd-h
free-posix [test $REPLACE_GETCWD = 1]
strdup [test $REPLACE_GETCWD = 1]
configure.ac:
gl_FUNC_GETCWD_LGPL
gl_CONDITIONAL([GL_COND_OBJ_GETCWD_LGPL], [test $REPLACE_GETCWD = 1])
gl_UNISTD_MODULE_INDICATOR([getcwd])
Makefile.am:
if GL_COND_OBJ_GETCWD_LGPL
lib_SOURCES += getcwd-lgpl.c
endif
Include:
<unistd.h>
License:
LGPLv2+
Maintainer:
Eric Blake