Added wrappers around libc's memory management functions, to easily debug memory usage

This commit is contained in:
Frederic Culot
2008-12-28 13:13:58 +00:00
parent a63c748920
commit 5352496984
28 changed files with 869 additions and 647 deletions

View File

@@ -1,4 +1,4 @@
/* $calcurse: calcurse.c,v 1.73 2008/12/20 19:27:31 culot Exp $ */
/* $calcurse: calcurse.c,v 1.74 2008/12/28 13:13:59 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -24,13 +24,13 @@
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <stdlib.h>
#include <signal.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include "i18n.h"
#include "io.h"
#include "help.h"
@@ -86,7 +86,7 @@ main (int argc, char **argv)
*/
non_interactive = parse_args (argc, argv, &conf);
if (non_interactive)
return (EXIT_SUCCESS);
exit_calcurse (EXIT_SUCCESS);
/* Begin of interactive mode with ncurses interface. */
sigs_init (&sigact); /* signal handling init */