Commit f16f973acda959377d8841b2aa0c2f0beb58dd2e

Jim Meyering 2001-08-31T10:36:12

Don't include pathmax.h. Include stdlib.h and unistd.h if available. Include xalloc.h. (xmalloc, xstrdup, free): Remove decls. (xgetcwd): Don't assume sizes fit in unsigned. Check for overflow when computing sizes. Simplify reallocation code.