* detach.c (mmalloc_detach): Fix bug in computation of negative
authorFred Fish <fnf@specifix.com>
Thu, 11 Jul 1996 07:36:27 +0000 (07:36 +0000)
committerFred Fish <fnf@specifix.com>
Thu, 11 Jul 1996 07:36:27 +0000 (07:36 +0000)
commit7f12eb53ca94589c030b562c362b6283f1b002e4
treed3810c2fa648a90838bde9605a350c163c6d4346
parent5db223e45fc7b60e04c4041dca02324a9841f8c7
* 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.
mmalloc/ChangeLog
mmalloc/mmalloc.h
mmalloc/mmap-sup.c [new file with mode: 0644]
This page took 0.025313 seconds and 4 git commands to generate.