(xgetcwd) [defined __GLIBC__ && __GLIBC__ >= 2]:
authorJim Meyering <jim@meyering.net>
Sun, 12 Aug 2001 20:11:39 +0000 (20:11 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 12 Aug 2001 20:11:39 +0000 (20:11 +0000)
commit79dbd85e74360835c284b3c064ba5b356dbf3a28
treeb1a0acfc8d2057704d6e693dded4f003bcc3674f
parent8982646a6389eed994f20e502db2d98c1c9c985c
(xgetcwd) [defined __GLIBC__ && __GLIBC__ >= 2]:
Simply `return getcwd (NULL, 0);'.
[! (defined __GLIBC__ && __GLIBC__ >= 2)]:
Use 1300 as initial value for length, not PATH_MAX.
lib/xgetcwd.c