Index: ossp-pkg/cfg/cfg_buf.c RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_buf.c,v rcsdiff -q -kk '-r1.6' '-r1.7' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_buf.c,v' 2>/dev/null --- 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 #include "cfg.h" +#include "cfg_global.h" #include "cfg_buf.h" #include "cfg_fmt.h" Index: ossp-pkg/cfg/cfg_data.c RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_data.c,v rcsdiff -q -kk '-r1.6' '-r1.7' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_data.c,v' 2>/dev/null --- 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 #include "cfg.h" +#include "cfg_global.h" #include "cfg_data.h" cfg_rc_t cfg_data_create(cfg_data_t **data) Index: ossp-pkg/cfg/cfg_global.h RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_global.h,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/cfg/cfg_global.h,v' | diff -u /dev/null - -L'ossp-pkg/cfg/cfg_global.h' 2>/dev/null --- ossp-pkg/cfg/cfg_global.h +++ - 2024-05-15 02:40:01.907723482 +0200 @@ -0,0 +1,39 @@ +/* +** OSSP cfg - Configuration Parsing +** Copyright (c) 1999-2002 Ralf S. Engelschall +** 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__ */ + Index: ossp-pkg/cfg/cfg_main.c RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_main.c,v rcsdiff -q -kk '-r1.7' '-r1.8' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_main.c,v' 2>/dev/null --- 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 #include "cfg.h" +#include "cfg_global.h" #include "cfg_fmt.h" #include "cfg_main.h" #include "cfg_data.h" Index: ossp-pkg/cfg/cfg_node.c RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_node.c,v rcsdiff -q -kk '-r1.15' '-r1.16' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_node.c,v' 2>/dev/null --- 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 #include +#include "cfg_global.h" #include "cfg_main.h" #include "cfg_node.h" #include "cfg_fmt.h" Index: ossp-pkg/cfg/cfg_syn.c RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_syn.c,v rcsdiff -q -kk '-r1.14' '-r1.15' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_syn.c,v' 2>/dev/null --- 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 #include "cfg.h" +#include "cfg_global.h" #include "cfg_grid.h" #include "cfg_node.h" #include "cfg_fmt.h" Index: ossp-pkg/cfg/cfg_syn_parse.y RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_syn_parse.y,v rcsdiff -q -kk '-r1.4' '-r1.5' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_syn_parse.y,v' 2>/dev/null --- 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 #include "cfg.h" +#include "cfg_global.h" #include "cfg_syn.h" /* make sure yyparse() accepts a context pointer and Index: ossp-pkg/cfg/cfg_syn_scan.l RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_syn_scan.l,v rcsdiff -q -kk '-r1.13' '-r1.14' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_syn_scan.l,v' 2>/dev/null --- 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 #include "cfg.h" +#include "cfg_global.h" #include "cfg_syn.h" #include "cfg_syn_parse.h" Index: ossp-pkg/cfg/cfg_test.c RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_test.c,v rcsdiff -q -kk '-r1.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_test.c,v' 2>/dev/null --- 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 #include "cfg.h" +#include "cfg_global.h" #include "cfg_util.h" int main(int argc, char *argv[]) Index: ossp-pkg/cfg/cfg_util.c RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_util.c,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_util.c,v' 2>/dev/null --- 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 #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) Index: ossp-pkg/cfg/configure.ac RCS File: /v/ossp/cvs/ossp-pkg/cfg/configure.ac,v rcsdiff -q -kk '-r1.6' '-r1.7' -u '/v/ossp/cvs/ossp-pkg/cfg/configure.ac,v' 2>/dev/null --- 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]) Index: ossp-pkg/cfg/devtool.conf RCS File: /v/ossp/cvs/ossp-pkg/cfg/devtool.conf,v rcsdiff -q -kk '-r1.7' '-r1.8' -u '/v/ossp/cvs/ossp-pkg/cfg/devtool.conf,v' 2>/dev/null --- 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 \ "$@"