summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2012-12-19 10:47:04 +0000
committerKeith Bostic <keith@wiredtiger.com>2012-12-19 10:47:04 +0000
commit67d7e00575d6c42619cd68351250b8465dd84113 (patch)
tree2b7344e12841eab8a1c6492941320770caf4f856
parent77e6bfe9fd3b9dcbc8c276cf534e4e7852f206d4 (diff)
downloadmongo-67d7e00575d6c42619cd68351250b8465dd84113.tar.gz
Minor cleanup, a couple of "api" strings.
-rw-r--r--dist/flags.py6
-rw-r--r--src/include/flags.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/dist/flags.py b/dist/flags.py
index 981e2714853..d613ba5e85b 100644
--- a/dist/flags.py
+++ b/dist/flags.py
@@ -92,7 +92,7 @@ for f in sorted(flag_cnt.items(),\
for m in flag_name[f[0]]:
mask &= ~name_mask[m]
if mask == 0:
- print >>sys.stder, "api_flags: ran out of flags at " + m + " method",
+ print >>sys.stder, "flags.py: ran out of flags at " + m + " method",
sys.exit(1)
for b in bits:
if mask & b:
@@ -117,12 +117,12 @@ tfile = open(tmp_file, 'w')
skip = 0
for line in open('../src/include/flags.h', 'r'):
if skip:
- if line.count('API flags section: END'):
+ if line.count('flags section: END'):
tfile.write('/*\n' + line)
skip = 0
else:
tfile.write(line)
- if line.count('API flags section: BEGIN'):
+ if line.count('flags section: BEGIN'):
skip = 1
tfile.write(' */\n')
tfile.write(flag_info)
diff --git a/src/include/flags.h b/src/include/flags.h
index 7b88c6609b3..371326b7950 100644
--- a/src/include/flags.h
+++ b/src/include/flags.h
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT: automatically built by dist/flags.py.
- * API flags section: BEGIN
+ * flags section: BEGIN
*/
#define WT_CACHE_POOL_RUN 0x00000001
#define WT_CONN_CACHE_POOL 0x00000020
@@ -37,6 +37,6 @@
#define WT_VERB_verify 0x00000002
#define WT_VERB_write 0x00000001
/*
- * API flags section: END
- * DO NOT EDIT: automatically built by dist/api_flags.py.
+ * flags section: END
+ * DO NOT EDIT: automatically built by dist/flags.py.
*/