Check-in Number:
|
2834 | |
Date: |
2002-Nov-18 10:51:29 (local)
2002-Nov-18 09:51:29 (UTC) |
User: | rse |
Branch: | |
Comment: |
add Dmalloc support |
Tickets: |
|
Inspections: |
|
Files: |
ossp-pkg/cfg/cfg_buf.c
|
1.6
->
1.7
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/cfg_data.c
|
1.6
->
1.7
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/cfg_global.h
|
added->
1.1
|
ossp-pkg/cfg/cfg_main.c
|
1.7
->
1.8
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/cfg_node.c
|
1.15
->
1.16
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/cfg_syn.c
|
1.14
->
1.15
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/cfg_syn_parse.y
|
1.4
->
1.5
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/cfg_syn_scan.l
|
1.13
->
1.14
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/cfg_test.c
|
1.9
->
1.10
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/cfg_util.c
|
1.1
->
1.2
|
 
1 inserted, 0 deleted
|
ossp-pkg/cfg/configure.ac
|
1.6
->
1.7
|
 
3 inserted, 0 deleted
|
ossp-pkg/cfg/devtool.conf
|
1.7
->
1.8
|
 
1 inserted, 0 deleted
|
|
ossp-pkg/cfg/cfg_buf.c 1.6 -> 1.7
--- cfg_buf.c 2002/11/10 12:12:23 1.6
+++ cfg_buf.c 2002/11/18 09:51:29 1.7
@@ -33,6 +33,7 @@
#include <string.h>
#include "cfg.h"
+#include "cfg_global.h"
#include "cfg_buf.h"
#include "cfg_fmt.h"
|
|
ossp-pkg/cfg/cfg_data.c 1.6 -> 1.7
--- cfg_data.c 2002/11/10 12:12:23 1.6
+++ cfg_data.c 2002/11/18 09:51:29 1.7
@@ -33,6 +33,7 @@
#include <string.h>
#include "cfg.h"
+#include "cfg_global.h"
#include "cfg_data.h"
cfg_rc_t cfg_data_create(cfg_data_t **data)
|
|
ossp-pkg/cfg/cfg_global.h -> 1.1
*** /dev/null Sat Nov 23 00:58:13 2024
--- - Sat Nov 23 00:58:50 2024
***************
*** 0 ****
--- 1,39 ----
+ /*
+ ** OSSP cfg - Configuration Parsing
+ ** Copyright (c) 1999-2002 Ralf S. Engelschall <rse@engelschall.com>
+ ** Copyright (c) 1999-2002 The OSSP Project (http://www.ossp.org/)
+ ** Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/)
+ **
+ ** This file is part of OSSP cfg, a configuration parsing
+ ** library which can be found at http://www.ossp.org/pkg/lib/cfg/.
+ **
+ ** Permission to use, copy, modify, and distribute this software for
+ ** any purpose with or without fee is hereby granted, provided that
+ ** the above copyright notice and this permission notice appear in all
+ ** copies.
+ **
+ ** THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ ** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ ** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ ** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ ** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ ** USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ ** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ ** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ ** SUCH DAMAGE.
+ **
+ ** cfg_global.h: global header
+ */
+
+ #ifndef __CFG_GLOBAL_H__
+ #define __CFG_GLOBAL_H__
+
+ #ifdef WITH_DMALLOC
+ #include "dmalloc.h"
+ #endif
+
+ #endif /* __CFG_GLOBAL_H__ */
+
|
|
ossp-pkg/cfg/cfg_main.c 1.7 -> 1.8
--- cfg_main.c 2002/11/10 12:12:23 1.7
+++ cfg_main.c 2002/11/18 09:51:29 1.8
@@ -34,6 +34,7 @@
#include <errno.h>
#include "cfg.h"
+#include "cfg_global.h"
#include "cfg_fmt.h"
#include "cfg_main.h"
#include "cfg_data.h"
|
|
ossp-pkg/cfg/cfg_node.c 1.15 -> 1.16
--- cfg_node.c 2002/11/10 12:12:23 1.15
+++ cfg_node.c 2002/11/18 09:51:29 1.16
@@ -34,6 +34,7 @@
#include <unistd.h>
#include <limits.h>
+#include "cfg_global.h"
#include "cfg_main.h"
#include "cfg_node.h"
#include "cfg_fmt.h"
|
|
ossp-pkg/cfg/cfg_syn.c 1.14 -> 1.15
--- cfg_syn.c 2002/11/10 12:12:23 1.14
+++ cfg_syn.c 2002/11/18 09:51:29 1.15
@@ -32,6 +32,7 @@
#include <ctype.h>
#include "cfg.h"
+#include "cfg_global.h"
#include "cfg_grid.h"
#include "cfg_node.h"
#include "cfg_fmt.h"
|
|
ossp-pkg/cfg/cfg_syn_parse.y 1.4 -> 1.5
--- cfg_syn_parse.y 2002/11/10 12:12:23 1.4
+++ cfg_syn_parse.y 2002/11/18 09:51:29 1.5
@@ -35,6 +35,7 @@
#include <stdlib.h>
#include "cfg.h"
+#include "cfg_global.h"
#include "cfg_syn.h"
/* make sure yyparse() accepts a context pointer and
|
|
ossp-pkg/cfg/cfg_syn_scan.l 1.13 -> 1.14
--- cfg_syn_scan.l 2002/11/10 12:12:23 1.13
+++ cfg_syn_scan.l 2002/11/18 09:51:29 1.14
@@ -36,6 +36,7 @@
#include <string.h>
#include "cfg.h"
+#include "cfg_global.h"
#include "cfg_syn.h"
#include "cfg_syn_parse.h"
|
|
ossp-pkg/cfg/cfg_test.c 1.9 -> 1.10
--- cfg_test.c 2002/11/10 12:12:23 1.9
+++ cfg_test.c 2002/11/18 09:51:29 1.10
@@ -4,6 +4,7 @@
#include <string.h>
#include "cfg.h"
+#include "cfg_global.h"
#include "cfg_util.h"
int main(int argc, char *argv[])
|
|
ossp-pkg/cfg/cfg_util.c 1.1 -> 1.2
--- cfg_util.c 2002/07/03 13:25:34 1.1
+++ cfg_util.c 2002/11/18 09:51:29 1.2
@@ -34,6 +34,7 @@
#include <unistd.h>
#include "cfg.h"
+#include "cfg_global.h"
#include "cfg_util.h"
cfg_rc_t cfg_util_readfile(const char *filename, char **buf_ptr, size_t *buf_len)
|
|
ossp-pkg/cfg/configure.ac 1.6 -> 1.7
--- configure.ac 2002/11/09 14:34:01 1.6
+++ configure.ac 2002/11/18 09:51:29 1.7
@@ -50,6 +50,9 @@
AC_CHECK_EXTLIB([OSSP ex], ex, __ex_ctx, ex.h,
[AC_DEFINE(WITH_EX, 1, [Define to 1 if building with OSSP ex])])
+AC_CHECK_EXTLIB(Dmalloc, dmalloc, dmalloc_debug, dmalloc.h,
+ AC_DEFINE(WITH_DMALLOC, 1, [define if building with Dmalloc]))
+
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([Makefile cfg-config])
AC_CONFIG_COMMANDS([adjustment], [chmod a+x cfg-config])
|
|
ossp-pkg/cfg/devtool.conf 1.7 -> 1.8
--- devtool.conf 2002/11/18 09:35:41 1.7
+++ devtool.conf 2002/11/18 09:51:29 1.8
@@ -16,6 +16,7 @@
./configure \
--prefix=/tmp/cfg \
--disable-shared \
+ --with-dmalloc=/usr/opkg \
--enable-maintainer \
--enable-debug \
"$@"
|
|