(xmalloc, xrealloc): Remove functions.
[gnulib.git] / lib / ChangeLog
index c1ec436..4d6e8fe 100644 (file)
@@ -1,18 +1,80 @@
+2000-06-23  Bruno Haible  <haible@clisp.cons.org>
+
+       * unicodeio.c (print_unicode_char): Work around ansi2knr deficiency.
+
+2000-06-24  Jim Meyering  <meyering@lucent.com>
+
+       * error.c [!HAVE_DECL_STRERROR_R]: Declare strerror_r.
+
+2000-06-21  Jim Meyering  <meyering@lucent.com>
+
+       * getpass.c: New file, from Bruno Haible.  Required for BeOS.
+
+2000-06-19  Paul Eggert  <eggert@twinsun.com>
+
+       * quotearg.c: Include <wctype.h> after <wchar.h>, for Solaris 2.5.
+       (mbrtowc, mbstate_t): Define substitutes if
+       HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT.
+       (iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT,
+       not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).
+
+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().
+
+2000-06-17  Bruno Haible  <haible@clisp.cons.org>
+
+       * path-concat.c (path_concat): Don't access dir[-1] if dir is
+       the empty string.
+
+2000-06-21  Jim Meyering  <meyering@lucent.com>
+
+       * Makefile.am (libfetish_a_SOURCES): Add getstr.c.
+       (noinst_HEADERS): Add getstr.h.
+
+       * getline.c (getstr): Move into a separate file.
+       * getstr.c (getstr): New file, extracted from getline.c, with
+       the following changes: new parameter, delim2; both delim[12]
+       parameters have type `int', not `char'.  The latter would lose
+       with 8-bit delimiters.
+       * getstr.h: New file.
+
+2000-06-19  Jim Meyering  <meyering@lucent.com>
+
+       * getloadavg.c [HAVE_NLIST_H] (NLIST_STRUCT): Define.
+
+2000-06-18  Jim Meyering  <meyering@lucent.com>
+
+       * mkdir.c: Remove file, due mainly to copyright incompatibility.
+       Besides, these days every porting target provides a mkdir function.
+
+       * strnlen.c: Include memory.h, string.h, and/or strings.h as needed.
+       (this snippet comes from src/system.h).
+
 2000-06-15  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/human.c (adjust_value): New function.
+       * human.c (adjust_value): New function.
        (human_readable_inexact): Apply rounding style even when
        printing approximate values.
 
 2000-06-14  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/human.c (human_readable_inexact): Allow an input block
+       * human.c (human_readable_inexact): Allow an input block
        size that is not a multiple of the output block size, and vice versa.
        Reported by Piergiorgio Sartor.
 
 2000-06-14  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/getdate.y (get_date): Apply relative times after time
+       * getdate.y (get_date): Apply relative times after time
        zone indicator, not before.  Reported by Todd A. Jacobs.
 
 2000-06-13  Jim Meyering  <meyering@lucent.com>