1998-02-11
1998-02-11 00:05:03 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
-
2043bab9c5fbe0238cf2ce1905abf7c7d095a5c7
(11 lines)
(+10/-1)
[
Show
| Annotate
]
Branch: 7.9
lots of minor fixes
Rev: src/Makefile.in:1.57
Rev: src/configure.in:1.158
Rev: src/dmalloc.h:1.4
Rev: src/fd_control.c:1.13
Rev: src/fd_control.h:1.2
Rev: src/fdlib.c:1.12
Rev: src/fdlib.h:1.9
Rev: src/main.c:1.41
Rev: src/mapping.c:1.28
Rev: src/pike_memory.c:1.13
Rev: src/stralloc.c:1.27
Rev: src/time_stuff.h:1.7
4:
||| See the files COPYING and DISCLAIMER for more information.
\*/
#include "global.h"
- RCSID("$Id: main.c,v 1.40 1998/02/03 05:29:26 hubbe Exp $");
+ RCSID("$Id: main.c,v 1.41 1998/02/11 00:05:01 hubbe Exp $");
#include "fdlib.h"
#include "backend.h"
#include "module.h"
331:
exit_modules();
+ #ifdef DEBUG_MALLOC
+ {
+ extern cleanup_memhdrs(void);
+ cleanup_memhdrs();
+ }
+ #endif
+
exit(num);
}
379: Inside #if defined(DEBUG) && defined(DEBUG_MALLOC)
if(verbose_debug_exit)
{
INT32 num,size,recount=0;
+ fprintf(stderr,"Exited normally, counting bytes.\n");
count_memory_in_arrays(&num, &size);
if(num)