diff options
author | jbj <devnull@localhost> | 2004-10-16 01:31:54 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-16 01:31:54 +0000 |
commit | d03f220fde879509cab2ac1c73b71b7efb52b737 (patch) | |
tree | 1e34bfadac0a6618d0e9a7933bad90063a785acf /db/test/scr003 | |
parent | 2dc699bfe049b9319ea3719f604d25940ff52004 (diff) | |
download | rpm-d03f220fde879509cab2ac1c73b71b7efb52b737.tar.gz rpm-d03f220fde879509cab2ac1c73b71b7efb52b737.tar.bz2 rpm-d03f220fde879509cab2ac1c73b71b7efb52b737.zip |
... and in with the New ...
CVS patchset: 7471
CVS date: 2004/10/16 01:31:54
Diffstat (limited to 'db/test/scr003')
-rw-r--r-- | db/test/scr003/chk.define | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/db/test/scr003/chk.define b/db/test/scr003/chk.define index 9645470b1..96c45c2b7 100644 --- a/db/test/scr003/chk.define +++ b/db/test/scr003/chk.define @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: chk.define,v 1.23 2003/06/30 14:22:57 bostic Exp $ +# $Id: chk.define,v 1.25 2004/10/07 18:54:37 bostic Exp $ # # Check to make sure that all #defines are actually used. # Check to make sure that all #defines start in column 1. @@ -18,10 +18,11 @@ t2=__2 t3=__3 find $d -name '*.c' -o -name '*.cpp' | + sed -e '/\/php_db4\//d' | xargs egrep '^[ ][ ]*#' > $t1 test -s $t1 && { + echo "FAIL: found #defines with leading white space:" cat $t1 - echo "FAIL: found #defines with leading white space." exit 1 } @@ -39,9 +40,11 @@ egrep '^#define' $d/dbinc/*.h $d/dbinc/*.in | -e '/^DB_UNUSED/d' \ -e '/^DEFINE_DB_CLASS/d' \ -e '/^HASH_UNUSED/d' \ + -e '/^HPUX_MUTEX_PAD/d' \ -e '/^LOG_OP/d' \ -e '/^MINFILL/d' \ -e '/^MUTEX_FIELDS/d' \ + -e '/^NAME_TO_SEQUENCE/d' \ -e '/^NCACHED2X/d' \ -e '/^NCACHED30/d' \ -e '/^PAIR_MASK/d' \ @@ -54,6 +57,8 @@ egrep '^#define' $d/dbinc/*.h $d/dbinc/*.in | -e '/^QPAGE_SEC/d' \ -e '/^SIZEOF_PAGE/d' \ -e '/^TAILQ_/d' \ + -e '/^UINT64_FMT/d' \ + -e '/^UINT64_MAX/d' \ -e '/^WRAPPED_CLASS/d' \ -e '/^__BIT_TYPES_DEFINED__/d' \ -e '/^__DBC_INTERNAL/d' \ |