summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-21 20:16:10 +0000
committerJim Meyering <jim@meyering.net>2000-06-21 20:16:10 +0000
commit50f86c9fe7d22e2c8a2ec5f7d0f6c7c5118e23ff (patch)
tree9ff5f5dcdaaa88a824395ec50f173eafa9de519b
parent978bf5f7509a9e48078886fd62d7a258dab12efc (diff)
downloadcoreutils-50f86c9fe7d22e2c8a2ec5f7d0f6c7c5118e23ff.tar.xz
*** empty log message ***
-rw-r--r--lib/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 0458132e8..e48a18c3f 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,13 @@
2000-06-17 Bruno Haible <haible@clisp.cons.org>
+ * xgetcwd.c (xgetcwd): If the required pathname length is smaller
+ than 1024, return a memory chunk of least possible size, instead
+ of size PATH_MAX + 2. In the loop, increment the size proportionally.
+ Use free/xmalloc instead of xrealloc to avoid copying for very long
+ paths.
+
+2000-06-17 Bruno Haible <haible@clisp.cons.org>
+
* canon-host.c (canon_host): Use malloc and memcpy to copy an
address, not strdup. Include <stdlib.h> and don't declare free().