Declare environ; not all systems declare it.
[gnulib.git] / lib / ChangeLog
index 6ebae3f..6b4623e 100644 (file)
@@ -1,3 +1,87 @@
+2004-05-27  Bruno Haible  <bruno@clisp.org>
+
+       * execute.c (environ): Declare if needed.
+       * pipe.c (environ): Likewise.
+       Reported by Michael Schloh von Bennewitz <michael.schloh@cw.com>.
+
+2005-01-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * human.c (SIZE_MAX, UINTMAX_MAX): Move these conditional
+       definitions to be after all include files, to avoid collisions.
+       Problem reported by Bob Proulx.
+
+2004-12-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * error.c [!_LIBC && !ENABLE_NLS]: Do not include "gettext.h";
+       not needed.  This removes a dependency on the gettext module.
+       [defined _LIBC]: Do not include <libintl.h>; not needed.
+
+2004-12-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * c-strtod.c (STRTOD): Depend on HAVE_C99_STRTOLD, not
+        HAVE_DECL_STRTOLD.
+
+2004-12-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * argp-parse.c: Include <stddef.h>.
+       (alignof, alignto): New macros.
+       (parser_init): Don't assume that void * is aligned sufficiently
+       for struct option.
+
+       * getdate.y (YYSTACK_USE_ALLOCA): Define to 0, since there's no
+       need to extend the stack.
+       (YYINITDEPTH): New macro, so that the initial stack isn't overly
+       large.
+
+2004-12-22  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
+
+       * argp-parse.c (parser_init): Avoid arithmetics on void pointers.
+
+2004-12-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
+       Remove now-obsolete comment about AIX.
+       * getdate.y: Include <alloca.h> only if HAVE_ALLOCA.
+       (YYSTACK_USE_ALLOCA): Define to 0 if !HAVE_ALLOCA.
+       (YYMAXDEPTH): New macro.
+
+2004-12-18  Bruno Haible  <bruno@clisp.org>
+
+       * fatal-signal.c (fatal_signals): Make non-const.
+       (init_fatal_signals): New function.
+       (uninstall_handlers, install_handlers): Ignore signals that were set to
+       SIG_IGN.
+       (at_fatal_signal): Call init_fatal_signals.
+       (init_fatal_signal_set): Likewise. Ignore signals that were set to
+       SIG_IGN.
+       Reported by Paul Eggert.
+
+2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * getdate.y (textint): New member "negative".
+       (time_zone_hhmm): New function.
+       Expect 14 shift-reduce conflicts, not 13.
+       (o_colon_minutes): New rule.
+       (time, zone): Use it to add support for +HH:MM, UTC+HH:MM.
+       (yylex): Set the "negative" member of signed numbers.
+
+2004-12-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Changes imported from coreutils.
+       * hard-locale.c: Assume <locale.h> exists.
+       Include "strdup.h".
+       (GLIBC_VERSION): New macro.
+       (hard_locale): Assume setlocale exists.
+       Rewrite to avoid #ifdef.
+       Use strdup rather than malloc + strcpy.
+       * human.c: Assume <locale.h> exists.
+       (human_readable): Assume localeconv exists.
+
+2004-12-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,
+       convert T2, not T.  (Imported from libc.)
+
 2004-11-30  Paul Eggert  <eggert@cs.ucla.edu>
 
        * getcwd.c (is_ENAMETOOLONG): New macro.
 
 2004-11-23  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
 
-       * lib/getopt_.h: Re-addition of __getopt_argv_const caused
+       * getopt_.h: Re-addition of __getopt_argv_const caused
        redefinition warnings. To avoid them, include the defines
        in `#if !defined __need_getopt ... #endif'. The only place
        where __getopt_argv_const is used is in definitions
 
 2004-11-01  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * lib/getpass.c (fflush_unlocked, flockfile, funlockfile)
+       * getpass.c (fflush_unlocked, flockfile, funlockfile)
        (funlockfile, fputs_unlocked, putc_unlocked): Don't define if
        already declared.
 
        Don't try to source the system alloca.h since it will not be found
        and to prevent recursively including its replacement.
        * fnmatch.c: Include <alloca.h> instead of opencoding.
-       * lib/regex.c: Likewise.
+       * regex.c: Likewise.
 
 2004-05-16  Derek Price  <derek@ximbiot.com>
            Paul Eggert  <eggert@cs.ucla.edu>
        shell quoting style.
 
 
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
   Free Software Foundation, Inc.
 Copying and distribution of this file, with or without modification,
 are permitted provided the copyright notice and this notice are preserved.