From 62d4a6eedbaaab51217599290684df7778b116aa Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 21 Jun 2000 20:16:10 +0000 Subject: [PATCH] *** empty log message *** --- lib/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index 0458132e8b..e48a18c3f2 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,11 @@ +2000-06-17 Bruno Haible + + * 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 * canon-host.c (canon_host): Use malloc and memcpy to copy an -- 2.30.2