(xgetcwd): Reorganize to avoid some duplication.
authorJim Meyering <jim@meyering.net>
Fri, 31 Aug 2001 11:39:16 +0000 (11:39 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 31 Aug 2001 11:39:16 +0000 (11:39 +0000)
commit904dc8bf73cb93f620eb1d159c2124f801d790fd
tree225cf53173fe9639f8640836b5f0e3742e16cbe0
parentd408a75e93e2bc9616d1d07966cf59b21dfe6fbd
(xgetcwd): Reorganize to avoid some duplication.
Use an initial, malloc'd, buffer of length 128 rather than
a statically allocated one of length 1024.
lib/xgetcwd.c