changeset 5459:e88a820ff3bb

Add log for human.h, xgetcwd.c (import from coreutils).
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 17 Nov 2004 07:32:27 +0000
parents 81e1a3092078
children c04a49ae7ee8
files lib/ChangeLog
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <limits.h>, 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.