Use xsize.h to protect against memory size overflows.
[gnulib.git] / ChangeLog
index a70128c..6f6f7fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,321 @@
+2003-11-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/vasnprintf (Files): Add m4/ssize_t.m4.
+       (Depends-on): Add xsize.
+
+2003-11-12  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/xalloc (Files): Undo latest change, since xalloc.h
+       no longer needs SIZE_MAX or PTRDIFF_MAX.
+
+2003-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/xsize (Files): Add m4/size_max.m4.
+       * modules/xalloc (Files): Add m4/size_max.m4, m4/ptrdiff_max.m4.
+
+2003-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * modules/xsize: New file.
+       * modules/linebreak: Depend on xsize.
+       * MODULES.html.sh (func_all_modules): Add xsize.
+
+2003-11-04  Jim Meyering  <jim@meyering.net>
+
+       * modules/sysexits: Use the `$(VAR)' notation for AC_SUBST'd
+       variable names, rather than @VAR@.
+       * modules/poll: Likewise.
+
+2003-11-03  Jim Meyering  <jim@meyering.net>
+
+       * modules/userspec (lib_SOURCES): Add userspec.h.
+       (Include): Add "userspec.h".
+       Improve description.
+
+2003-10-29  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/group-member: Depend on stdbool.
+
+2003-10-20  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wait-process: New file.
+       * MODULES.html.sh (func_all_modules): Add wait-process.
+
+2003-10-16  Paul Eggert  <eggert@twinsun.com>
+
+       * README: Mention that gnulib assumes that (foo *) NULL + 0 == NULL.
+
+2003-10-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fatal-signal: Add m4/sig_atomic_t.m4 to file list.
+
+2003-10-12  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/xalloc: Do not depend on 'exit'.  Depend on 'stdbool'.
+       Change maintainer from Bruno Haible to 'all'.
+
+2003-10-10  Simon Josefsson  <jas@extundo.com>
+
+       * modules/argp (Depends-on): Add restrict and strcase.
+
+2003-10-08  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/getpass: Depend on stdbool.
+
+2003-10-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/version-etc-2: Remove file.
+       * MODULES.html.sh (func_all_modules): Remove version-etc-2.
+
+2003-10-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fatal-signal: New file.
+       * MODULES.html.sh (func_all_modules): Add fatal-signal.
+
+2003-10-05  Paul Eggert  <eggert@twinsun.com>
+
+       * README: Rework advice for preventing empty .o files.
+       Don't recommend ELIDE constructs.  Recommend <stddef.h>,
+       not <sys/types.h>.
+
+2003-10-02  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lchown (Include): Add lchown.h.
+       * modules/time_r (Include): Use "..." syntax.
+       * modules/xgetdomainname (Include): Add xgetdomainname.h.
+
+2003-10-01  Simon Josefsson  <jas@extundo.com>
+
+       * MODULES.html.sh (func_all_modules): Move gethostname from section
+       'based on' to section 'lacking' POSIX:2001.
+
+2003-09-27  Oskar Liljeblad  <oskar@osk.mine.nu>
+
+       Trivial fixes to Makefile.am parts of module listings.
+       * modules/strstr: Append strstr.h to lib_SOURCES.
+       * modules/strcase: Likewise, for strcase.h.
+
+2003-09-27  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/free: New file.
+
+2003-09-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/version-etc-2: New file, from modules/version-etc with
+       modifications.
+       * MODULES.html.sh (func_all_modules): Add version-etc-2.
+
+2003-09-25  Simon Josefsson  <jas@extundo.com>
+            Bruno Haible  <bruno@clisp.org>
+
+       * modules/getdomainname: New file.
+       * modules/xgetdomainname: New file.
+       * MODULES.html.sh (func_all_modules): Add getdomainname, xgetdomainname.
+
+2003-09-24  Paul Eggert  <eggert@twinsun.com>
+
+       * README: Document assumptions that 'int' is at least 32 bits
+       wide, that integer arithmetic is 2's complement without overflow,
+       that there are no holes in integer values, that adding sizes of
+       two nonoverlapping objects can't overflow, and that all-bits-zero
+       yields scalar zero.  Fix spelling and capitalization typos.
+
+2003-09-24  Simon Josefsson  <jas@extundo.com>
+
+       * modules/xgethostname: Add xgethostname.h.
+
+2003-09-17  Paul Eggert  <eggert@twinsun.com>
+
+       * gnulib-tool: Use "test -h", not "test -L", for portability
+       to Solaris 8 /bin/sh.  (This bug is fixed in Solaris 9.)
+       (tags_regexp): Remove, since \| doesn't conform to POSIX.
+       (sed_extract_prog): Issue s commands one-by-one, rather than
+       using \| in one s command.
+
+2003-09-16  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Warn about duplicated
+       dependencies.
+
+2003-09-15  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/argmatch, modules/fatal, modules/obstack,
+       modules/xalloc, modules/xgethostname: Sort dependencies by
+       importance, not alphabetically.
+
+2003-09-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fwriteerror: New file.
+       * MODULES.html.sh (func_all_modules): Add fwriteerror.
+
+2003-09-12  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/argmatch, modules/exitfail, modules/fatal, modules/obstack,
+       modules/xgethostname, modules/xalloc: Depend on exit.
+
+2003-09-09  Paul Eggert  <eggert@twinsun.com>
+
+       * README: New section: portability guidelines.
+
+2003-09-07  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/time_r: Depend on 'restrict'.  Fix from Simon Josefsson in
+       <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>.
+
+2003-09-06  Paul Eggert  <eggert@twinsun.com>
+
+       * MODULES.html.sh (func_all_modules): Add time_r.
+       * modules/time_r: New file.
+       * modules/mktime, modules/strftime, modules/timegm: Depend on time_r.
+       * modules/timegm: Depend on mktime.  Change maintainer to "all, glibc".
+
+2003-08-31  Simon Josefsson  <jas@extundo.com>
+
+       * modules/timegm: New file.
+       * MODULES.html.sh (func_all_modules): Add timegm.
+
+2003-08-22  Simon Josefsson  <jas@extundo.com>
+
+       * modules/strndup (Makefile.am): Add strndup.h to lib_SOURCES.
+
+2003-08-20  Bruno Haible  <bruno@clisp.org>
+
+       * modules/progname: New file.
+       * MODULES.html.sh (func_all_modules): Add progname.
+
+2003-08-18  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/stdbool: Add BUILT_SOURCES.  Prefer $@ to target name
+       in makefile rules.
+
+2003-08-17  Simon Josefsson  <jas@extundo.com>
+
+       * modules/argp: Fix autoconf macro name. Add more dependencies.
+
+2003-08-17  Simon Josefsson  <jas@extundo.com>
+
+       * modules/xstrndup: New file.
+       * MODULES.html.sh (func_all_modules): Add xstrndup.
+
+2003-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/strndup (Files, Include): Add lib/strndup.h.
+
+2003-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Handle gl_USE_SYSTEM_EXTENSIONS
+       like AC_GNU_SOURCE.
+       * modules/extensions (configure.ac): Comment out the invocation of
+       gl_USE_SYSTEM_EXTENSIONS.
+
+2003-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/euidaccess (Files): Add lib/euidaccess.h.
+
+2003-08-16  Paul Eggert  <eggert@twinsun.com>
+
+       Document merge from coreutils.
+       * modules/alloca: Append $(ALLOCA_H) to BUILT_SOURCES.
+       * modules/fnmatch: Append $(FNMATCH_H) to BUILT_SOURCES.
+       * modules/utime: Add m4/utimes-null.m4.
+
+2003-08-15  Paul Eggert  <eggert@twinsun.com>
+
+       Document merge from coreutils.
+       * modules/userspec: Depend on posixver.
+       * modules/strftime: Depend on tzset.
+
+2003-08-14  Jim Meyering  <jim@meyering.net>
+
+       Merges from coreutils.
+       * modules/fnmatch: Use the `$(FNMATCH_H)' notation for AC_REPLACED
+       variable names, rather than @FNMATCH_H@.
+       * modules/alloca: Likewise for $(ALLOCA_H).
+
+       * modules/fnmatch (fnmatch.h): Use `$@' in the commands, in place of
+       the three copies of the literal target, `fnmatch.h'.
+       * modules/alloca (alloca.h): Likewise.
+
+2003-08-14  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/tzset: New file.
+
+2003-08-12  Paul Eggert  <eggert@twinsun.com>
+
+       Merge from coreutils.
+       * modules/euidaccess: Add lib_SOURCES, include for new
+       file euidaccess.h
+
+2003-08-11  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/gnu-source, m4/gnu-source.m4:
+       Remove; we're assuming Autoconf 2.54 or later now.
+       Suggested by Bruno Haible.
+       * MODULES.html.sh (func_all_modules): Remove gnu-source.
+
+2003-08-08  Paul Eggert  <eggert@twinsun.com>
+
+       * MODULES.html.sh (func_all_modules): Add extensions, gnu-source.
+       * modules/extensions, modules/gnu-source: New files.
+       * modules/timespec, modules/unlocked-io: Depend on extensions.
+
+2003-08-07 Paul Eggert  <eggert@twinsun.com>
+
+       * modules/restrict: New file.
+       * MODULES.html.sh (func_all_modules): Add restrict.
+       * modules/regex: Depend on restrict.
+
+2003-08-07  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getndelim2 (Makefile.am): Add the files to EXTRA_DIST, not
+       lib_SOURCES, because getndelim2.m4 now uses AC_LIBOBJ(getndelim2).
+
+2003-08-05  Paul Eggert  <eggert@twinsun.com>
+
+       * MODULES.html.sh (func_all_modules): Remove bumpalloc.
+       * modules/bumpalloc: Remove.
+
+2003-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getpass-gnu: New file.
+       * MODULES.html.sh (func_all_modules): Add getpass-gnu.
+
+2003-07-22  Paul Eggert  <eggert@twinsun.com>
+
+       * modules/xalloc (Depends-on): Add exitfail.
+       * modules/xmemcoll: Likewise.
+
+2003-07-20  Jim Meyering  <jim@meyering.net>
+
+       * modules/closeout (Depends-on): Add exitfail.
+       Suggestion from Bruno Haible.
+
+2003-07-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getndelim2: New file.
+       * modules/getline: Share files with module getndelim2.
+       * modules/getnline: Depend on getndelim2 instead of sharing files with
+       it. Add getnline.c to lib_SOURCES.
+       * MODULES.html.sh (func_all_modules): Add getndelim2.
+
+2003-07-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getnline: New file.
+       * modules/getline: Add lib/getndelim2.c to source file list.
+       * MODULES.html.sh (func_all_modules): Add getnline.
+
+2003-07-17  Bruno Haible  <bruno@clisp.org>
+
+       * configure.in: Remove file.
+       * Makefile.in: Remove file.
+
+2003-07-17  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh: Put the </BODY> right before </HTML>.
+
+2003-07-16  Jim Meyering  <jim@meyering.net>
+
+       * modules/save-cwd: Depend on xgetcwd.  From Derek Price.
+
 2003-07-15  Jim Meyering  <jim@meyering.net>
 
        * modules/save-cwd: Don't depend on error.  From Derek Price.