mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-01-02 12:27:09 +08:00
Remove references to dmalloc
There are more modern tools for memory debugging, get rid of DMALLOC crap in the source code. I've left one reference in backend.c to prevent a merge conflict but this can be removed later.
This commit is contained in:
@@ -21,10 +21,6 @@
|
||||
|
||||
#include "mdbtools.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include "dmalloc.h"
|
||||
#endif
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
|
||||
@@ -18,10 +18,6 @@
|
||||
|
||||
#include "mdbtools.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include "dmalloc.h"
|
||||
#endif
|
||||
|
||||
#undef MDB_BIND_SIZE
|
||||
#define MDB_BIND_SIZE 200000
|
||||
|
||||
|
||||
@@ -22,10 +22,6 @@
|
||||
#include <string.h>
|
||||
#include "mdbtools.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include "dmalloc.h"
|
||||
#endif
|
||||
|
||||
void copy_header (FILE *f)
|
||||
{
|
||||
fprintf (f, "/******************************************************************/\n");
|
||||
|
||||
@@ -24,10 +24,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include "dmalloc.h"
|
||||
#endif
|
||||
|
||||
#define FILENAMESIZE 128
|
||||
#define BUFFERSIZE 4096
|
||||
#define LF 10
|
||||
|
||||
@@ -19,10 +19,6 @@
|
||||
/* this utility dumps the schema for an existing database */
|
||||
#include "mdbtools.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include "dmalloc.h"
|
||||
#endif
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
|
||||
@@ -47,10 +47,6 @@ extern void clear_history ();
|
||||
#include <string.h>
|
||||
#include "mdbsql.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include "dmalloc.h"
|
||||
#endif
|
||||
|
||||
void dump_results(FILE *out, MdbSQL *sql, char *delimiter);
|
||||
void dump_results_pp(FILE *out, MdbSQL *sql);
|
||||
|
||||
|
||||
@@ -20,10 +20,6 @@
|
||||
|
||||
#include "mdbtools.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include "dmalloc.h"
|
||||
#endif
|
||||
|
||||
struct type_struct {
|
||||
char *name;
|
||||
int value;
|
||||
|
||||
@@ -21,10 +21,6 @@
|
||||
#include "mdbver.h"
|
||||
#include "mdbprivate.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include "dmalloc.h"
|
||||
#endif
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user