projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for config.h (currently not generated).
[yaz-moved-to-github.git]
/
util
/
nmem.c
diff --git
a/util/nmem.c
b/util/nmem.c
index
c76c836
..
59e2282
100644
(file)
--- a/
util/nmem.c
+++ b/
util/nmem.c
@@
-1,10
+1,16
@@
/*
/*
- * Copyright (c) 1995-1999, Index Data.
+ * Copyright (c) 1995-2000, Index Data.
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: nmem.c,v $
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: nmem.c,v $
- * Revision 1.19 1999-11-30 13:47:12 adam
+ * Revision 1.21 2000-02-29 13:44:55 adam
+ * Check for config.h (currently not generated).
+ *
+ * Revision 1.20 2000/01/06 14:59:13 adam
+ * Added oid_init/oid_exit. Changed oid_exit.
+ *
+ * Revision 1.19 1999/11/30 13:47:12 adam
* Improved installation. Moved header files to include/yaz.
*
* Revision 1.18 1999/08/27 09:40:32 adam
* Improved installation. Moved header files to include/yaz.
*
* Revision 1.18 1999/08/27 09:40:32 adam
@@
-74,6
+80,9
@@
* This is a simple and fairly wasteful little module for nibble memory
* allocation. Evemtually we'll put in something better.
*/
* This is a simple and fairly wasteful little module for nibble memory
* allocation. Evemtually we'll put in something better.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <string.h>
#include <assert.h>
#include <string.h>
@@
-385,6
+394,7
@@
void nmem_exit (void)
cfreelist = cfreelist->next;
xfree (cfl);
}
cfreelist = cfreelist->next;
xfree (cfl);
}
+ nmem_init_flag = 0;
#ifdef WIN32
DeleteCriticalSection(&critical_section);
#endif
#ifdef WIN32
DeleteCriticalSection(&critical_section);
#endif