head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.10.23.17.07.36; author schmonz; state Exp; branches; next ; commitid dJCzc8YPxOPftIfG; desc @@ 1.1 log @cdb: update to 20251021. Changes: Add support for cdb64 (at least on 64-bit platforms). Switch almost all internal integers to num, defined as long long. Replace various uint32, fmt, scan functions with num functions. For tests, avoid depending on csh; depend on ulimit instead of softlimit; increase limit to handle current process bloat. Split buffer interface into inbuf and outbuf. Clean up hier interface. Remove various function definitions and declarations not used in cdb. Eliminate some wrappers: str_len, alloc, uint32, exit, error, systype. Tweak code to avoid deprecated C features (old-style function definitions, empty prototypes, old-style main definitions). Make more use of const and static. Eliminate register. Add -Wall to compiler options. Tweak code to avoid -Wall complaints. Add some don't-be-stupid compiler options: -fwrapv, -fno-delete-null-pointer-checks, -fno-strict-aliasing, and -fno-strict-overflow. Many updates to documentation. @ text @$NetBSD$ Run tests on in-tree binaries, not installed ones. --- rts.tests.orig 2025-10-23 16:47:34.587199467 +0000 +++ rts.tests @@@@ -26,7 +26,7 @@@@ do one Hello # comment line two Goodbye -' | ${CDB}make-12 12.${CDB} 12.tmp +' | ${CDB}make-12-for-test 12.${CDB} 12.tmp echo $? echo "--- ${CDB}make-sv handles simple example" @@@@ -38,7 +38,7 @@@@ do discard 9/udp sink null systat 11/tcp users #Active Users systat 11/udp users #Active Users - ' | ${CDB}make-sv sv.${CDB} sv.tmp + ' | ${CDB}make-sv-for-test sv.${CDB} sv.tmp echo $? echo "--- ${CDB}dump handles simple examples" @