lib/xgetcwd.c


Log

Author Commit Date CI Message
Jim Meyering 4f796b14 2000-06-21T20:16:03 (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.
Jim Meyering 16157cc4 1996-11-04T18:07:38 libitize
Jim Meyering f820ac46 1996-10-29T13:56:39 .
Jim Meyering 783c1624 1996-07-15T03:56:06 indent cpp-directives
Jim Meyering 6d8337bf 1996-07-15T03:36:16 update FSF address in copyright
Jim Meyering d282959b 1994-04-28T18:39:34 Initial revision