+
+ * acinclude.m4, aclocal.m4: New files.
+ * configure.in (sbrk): Use BFD_NEED_DECLARATION to test for
+ presence of a suitable declaration in the system headers.
+ * configure: Regenerated.
+ * sbrk-sup.c (sbrk): Ifdef'd with NEED_DECLARATION_SBRK.
+
+
+ * configure.in: Requires autoconf 2.12.1 or higher.
+ * configure: Regenerated.
+
+
+ * mcalloc.c: #include <sys/types.h> before <string.h>. HP/UX 11.0
+ needs this.
+
+
+ * mmalloc.h: Include sys/types.h and stdio.h #ifndef HAVE_STDDEF_H.
+ * mmprivate.h: Do not handle HAVE_STDDEF_H here, since we include
+ mmalloc.h.
+
+
+ * Makefile.in: Get SHELL from configure.
+ * configure: Regenerate with autoconf 2.12.1 to fix shell issues for
+ NT native builds.
+
+
+ * mmalloc/detach.c: Do not include fcntl.h.
+
+
+ * mrealloc.c (realloc): Store result in local variable before
+ returning it. Makes debugging much easier at negligible cost.
+
+
+ * mvalloc.c (cache_pagesize): Rename from pagesize, so that if we
+ are building mm.o, it does not conflict with the variable of the
+ same name in mmap-sup.c.
+
+
+ * Makefile.in (mm.o): New target that combines all the functions
+ into a single object module. This avoids client programs picking
+ up part of the allocation routines from mmalloc and part from libc,
+ which can lead to undefined behavior.
+ (CFILES): Add mm.c
+ (TARGETOBJS): Define to be either the individual objects or the
+ single combined object.
+ (TARGETLIB): Create the archive using TARGETOBJS.
+ * mm.c: New file that simply #includes the other source C files.
+
+
+ * Makefile.in (maintainer-clean): Depend on distclean, remove
+ duplication.
+
+
+ * mmcheck.c (checkhdr): Add prototype.
+ (mfree_check): Ditto.
+ (mmalloc_check): Ditto.
+ (mrealloc_check): Ditto.
+ * mmtrace.c (tr_break): Ditto.
+ (tr_freehook): Ditto.
+ (tr_mallochook): Ditto.
+ (tr_reallochook): Ditto.
+ * sbrk-sup.c (sbrk_morecore): Ditto.
+
+
+ * configure configure.in: Don't default CC to cc. It causes problems
+ when starting a compile in the mmalloc directory.
+
+
+ * mmalloc.h (mmalloc_findbase): Add prototype.
+
+
+ * mmap-sup.c (mmalloc_findbase): Change to not require /dev/zero
+ if MMAP_ANONYMOUS is available.
+
+
+ * detach.c (mmalloc_detach): Fix bug in computation of negative
+ brk value.
+ * mmcheck.c (mmcheckf): Renamed from mmcheck and new FORCE argument
+ added. Replaced hack that always allowed checking routines to be
+ installed and enforce restriction that they have to be installed
+ prior to allocating any memory on the used heap or the FORCE argument
+ has to be non-NULL.
+ (mmcheck): New function that calls mmcheckf with FORCE set to zero,
+ for backwards compatibility.
+ * mmalloc.c (malloc): Store result in local variable before
+ returning it. Makes debugging much easier at negligible cost.
+ * mmalloc.h (mmcheckf): Declare.
+ * attach.c (reuse): Call mmcheckf rather than mmcheck.
+ * mmap-sup.c (__mmalloc_mmap_morecore): Improve to allow mmap
+ to select a base mapping address if none is otherwise given.
+ (mmalloc_findbase): New function that user can call to find
+ an available mapping address of a given size.
+
+
+ * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
+ Use autoconf-set values.
+ (docdir): Removed.
+ * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+ * configure: Rebuilt.
+
+
+ * Makefile.in (install-info): Apply patch to install
+ mmalloc.info from srcdir if not found in build dir.
+
+
+ * configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
+ * configure: Regenerate with autoconf.
+ * Makefile.in: Use AR set by configure substitution.
+
+
+ * mmalloc.h (mmtrace): Add prototype.
+
+
+ * mvalloc.c (valloc): new.
+ * mmemalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
+ if possible.
+ (memalign): don't put the node on the _aligned_blocks list more
+ than once.
+
+
+ * Makefile.in (OFILES): Make objects depend upon Makefile,
+ since Makefile sets DEFS which can definitely affect how
+ objects are to be compiled.
+
+
+ * configure.in (AC_CHECK_HEADERS): add limits.h.
+ (AC_HEADER_STDC): remove.
+
+ * mmalloc.h: document necessity of defining size_t before
+ including mmalloc.h.
+
+ * mmprivate.h: add check for limits.h, remove definition of
+ NULL and size_t.
+
+
+ * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.
+
+
+ * configure.in: add check for stddef.h
+ * mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
+
+
+ * configure.in: add AC_HEADER_STDC check.
+
+ * mmalloc.h: check if STDC_HEADERS instead of __STDC__.
+
+ * mmprivate.h: check if STDC_HEADERS instead of __STDC__.
+
+
+ * mmprivate.h: Remove declarations (PTR, etc) that are already
+ provided by ansidecl.h, include mmalloc.h earlier in file.
+
+
+ * Makefile.in (BISON): Remove macro.
+
+
+ * Makefile.in (maintainer-clean): New target, synonym for
+ realclean. Add GNU standard maintainer-clean echos.
+
+
+ * Update all FSF addresses except those in COPYING* files
+ and shar archive of original FSF files.
+
+
+ * Makefile.in (distclean, realclean): Remove config.cache and
+ config.log.
+
+
+ * Makefile.in (Makefile): Added config.status to dependency list.
+ (config.status): New target.
+
+
+ * mmap-sup.c: Removed munmap prototype. Some systems have a
+ slightly different prototype.
+
+
+ * Makefile.in, configure.in: Converted to use autoconf.
+ * configure: New file, generated with autoconf 2.3.
+ * config/{mh-go32, mh-irix, mh-ncr3000, mh-sunos4,
+ mh-sysv4}: Removed.
+
+
+ * Makefile.in (install-info): Name destination file correctly,
+ rather than using undefined shell variable.
+
+
+ * mmprivate.h: New file, was mmalloc.h.
+ (mmalloc.h): Include.
+ * mmalloc.h: Remove all but declarations of mmalloc functions.
+ (ansidecl.h): Include.
+ * attach.c, et al: Include mmprivate.h instead of mmalloc.h.
+
+
+ * configure.in: Change i[34]86 to i[345]86.
+
+
+ * Makefile.in (distclean): Separate from realclean.
+ (realclean): Remove mmalloc.info.
+
+
+ * config/go32.mh: New file
+ * configure.in (host==go32): Use new fragment.
+
+
+ * mmtrace.c (tr_freehook, tr_mallochook, tr_reallochook):
+ Cast addresses put out via fprintf to unsigned long and use %lx.
+
+
+ * COPYING.LIB: New file (standard version 2 LGPL, as already cited
+ by the source files).
+
+
+ * Makefile.in (info dvi install-info): Actually make the manual.
+
+
+ * mmalloc.texi: Fix typo ("for for" -> "for").
+
+ * test1.c: New file which tests for bug fixed below.
+ * Makefile.in (check): Put in commands to run it (but commented out
+ because it won't work for Canadian cross).
+
+ * mmalloc.c (mmalloc): When extending a free block at the end of the
+ heap, check whether which block is at the end changed.
+
* Makefile.in (TAGS): make work when srcdir != objdir.