Add log for human.h, xgetcwd.c (import from coreutils).
[pspp] / lib / ChangeLog
index 8670508a1e43b171af255afa6c4207464cf6ac0a..35743b03ffaa17059cb508b060193a4df93bebb8 100644 (file)
@@ -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.