summaryrefslogtreecommitdiff
path: root/dist/s_style
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-02-10 08:40:35 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-02-10 08:40:35 +1100
commitb294c1203d391eca1fa02ba607d20e3f0a87800b (patch)
tree63b0d00e9a46df31f1a71ca732ad0417e200bd88 /dist/s_style
parenta60ad7fc17f027eb44ce7b3b564ca1a586c63f2d (diff)
downloadmongo-b294c1203d391eca1fa02ba607d20e3f0a87800b.tar.gz
Port the utilities to the public API.
--HG-- rename : src/api/cur_std.c => src/api/cur_bulk.c rename : src/api/cur_std.c => src/api/cur_dump.c rename : src/api/api.c => src/api/cur_table.c
Diffstat (limited to 'dist/s_style')
-rw-r--r--dist/s_style2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/s_style b/dist/s_style
index ff2d84adacc..2b481feaa61 100644
--- a/dist/s_style
+++ b/dist/s_style
@@ -8,7 +8,7 @@ extra=`cd .. && echo src/include/*.h src/include/*.in dist/*.py`
(
for f in `sed -e '/^[a-z]/! d' filelist` $extra; do
f="../$f"
- if grep "while (0);" $f > /dev/null; then
+ if grep "^[^}]*while (0);" $f > /dev/null; then
echo "$f: while (0) has trailing semi-colon"
fi
if grep "%dl|%ul|%xl" $f > /dev/null; then