mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-07-19 22:42:25 +00:00
07c3d5fe32
(<stdlib.h>, <unistd.h>): Include if available.
("xalloc.h"): Include.
(xmalloc, xstrdup, free): Remove decls; no longer needed.
(xgetcwd): Don't assume sizes fit in 'unsigned'.
Check for overflow when path size gets too large.
Simplify failure code.