From ebf42e7bf9a6a652e3d9498441a1700db724aabe Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 17 Nov 2004 07:32:27 +0000 Subject: [PATCH] Add log for human.h, xgetcwd.c (import from coreutils). --- lib/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index 8670508a1e..35743b03ff 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -4,6 +4,15 @@ (canon_host): Use getaddrinfo if available, so that IPv6 works. Use strdup instead of malloc/strcpy to duplicate strings. + * human.h (LONGEST_HUMAN_READABLE): Add 1 for space before unit. + (human_space_before_unit): New constant. + * human.c (human_readable): Support it. + + * xgetcwd.c: Include , for PATH_MAX. + (xgetcwd): Set errno correctly when failing. + Work around Solaris 9 bug: getcwd sets errno==ERANGE even though + the failure is actually due to a PATH_MAX problem. + Further getopt changes to make it more likely that glibc will buy the changes back. * getopt.c (POSIXLY_CORRECT): New constant. -- 2.30.2