summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-05-14 11:21:59 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-05-14 11:21:59 -0400
commit937c5671d4e9e4c93bfe740eab208343c3e0b183 (patch)
tree09e2753c45bbabd16e6eed766fe457ec6531c968
parent0769a84dca4dd177fcdf6f297b00c12ef00ccf38 (diff)
downloadmongo-937c5671d4e9e4c93bfe740eab208343c3e0b183.tar.gz
Spell check the NEWS file.
-rw-r--r--NEWS2
-rw-r--r--dist/s_string19
-rw-r--r--dist/s_string.ok40
3 files changed, 56 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index c455274dd13..172f1b6943a 100644
--- a/NEWS
+++ b/NEWS
@@ -2182,7 +2182,7 @@ This is a bugfix release. The changes are as follows:
* Defer making free pages available until the end of a checkpoint, in case
there is a failure after processing some files.
-* When checking the value of the "isolation" key, don't assume it is NUL
+* When checking the value of the "isolation" key, don't assume it is nul
terminated. This bug could cause transactions to run with incorrect
isolation.
diff --git a/dist/s_string b/dist/s_string
index 2e226b21094..08d066f5929 100644
--- a/dist/s_string
+++ b/dist/s_string
@@ -16,7 +16,11 @@ type aspell > /dev/null 2>&1 || {
}
# replace:
-# Create a replacement list of spelling words.
+# Create a replacement list of spelling words. This is here because the
+# words we ignore changes over time and it's worth periodically collapsing
+# the list. Don't it too often, the list is correct for many different aspell
+# catalogs and generating a shorter list on any single system will break other
+# systems.
replace() {
aspell --mode=ccpp --lang=en list < ../$1 |
sort -u |
@@ -26,11 +30,11 @@ replace() {
# check:
# Check the spelling of an individual file.
check() {
- aspell --mode=ccpp --lang=en list < ../$1 |
+ aspell --lang=en $1 list < ../$2 |
sort -u |
comm -23 /dev/stdin s_string.ok > $t
test -s $t && {
- echo "==== $1"
+ echo "==== $2"
cat $t
}
}
@@ -59,8 +63,15 @@ while :
esac
done
+# Check source files.
+for f in $l; do
+ check "--mode=ccpp" $f
+done
+
+l="NEWS"
+# Check other files.
for f in $l; do
- check $f
+ check "" $f
done
exit 0
diff --git a/dist/s_string.ok b/dist/s_string.ok
index 74685836024..f089f1944f3 100644
--- a/dist/s_string.ok
+++ b/dist/s_string.ok
@@ -6,6 +6,7 @@ AAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ADDR
+ADDRs
AJ
API
APIs
@@ -43,11 +44,13 @@ CAS
CCCCCCCCCCCCCCCCCC
CELL's
CELLs
+CFLAGS
CHECKKEY
CKPT
CMP
CONCAT
CONFIG
+COVERITY
CPUs
CRC
CURSORs
@@ -59,6 +62,7 @@ CityHash
CloseHandle
Comparator
Config
+Coverity
CreateFileMapping
Crummey
CustomersPhone
@@ -75,6 +79,7 @@ Decrement
Decrypt
EAGAIN
EBUSY
+EEXIST
EINTR
EINVAL
EMSG
@@ -124,6 +129,7 @@ HFS
HHHH
HHHHLL
HHHLL
+HyperLevelDB
IEC
IEEE
IKEY
@@ -138,6 +144,7 @@ Inline
Intra
Ippokratis
Iu
+JIRA
JPEG
JSON
Jyrki
@@ -162,6 +169,7 @@ LTE
LZ
LZO
LeafGreen
+LevelDB
Levyx
Llqr
Llqrt
@@ -178,11 +186,13 @@ Manos
MapViewOfFile
Marsaglia's
Mellor
+Memrata
Metadata
Mewhort
Mitzenmacher
MongoDB
MoveFile
+Multi
Multithreaded
Mutex
MySecret
@@ -213,6 +223,7 @@ Phong
PlatformSDK
Posix
Pre
+Preload
Prepend
Qsort
RCS
@@ -222,6 +233,7 @@ RET
RHEL
RLE
RLEs
+RMW
RNG
RPC
RUNDIR
@@ -229,6 +241,7 @@ Radu
RedHat
Redistributions
Resize
+RocksDB
SIMD
SLIST
SLVG
@@ -238,12 +251,14 @@ SQL
SSHH
SSq
STAILQ
+STEC
STRUCT
Scalability
Scalable
Sedgewick
Seigh
SetEndOfFile
+SetEndofFile
SetFilePointerEx
Sevii
SiH
@@ -286,6 +301,7 @@ Vigenere
Vixie
Vo
VxWorks
+WAL
WIREDTIGER
WRLSN
WakeAllConditionVariable
@@ -297,6 +313,7 @@ WinNT
WiredTiger
WiredTiger's
WiredTigerCheckpoint
+WiredTigerException
WiredTigerInit
WiredTigerLog
WiredTigerPreplog
@@ -329,8 +346,11 @@ async
asyncopp
asyncops
autocommit
+autoconf
+automake
bInheritHandle
basecfg
+basho
bdb
beginthreadex
bigram
@@ -354,6 +374,8 @@ btree
btrees
buf
bufsz
+bugfix
+bugfixes
builtin
builtins
bytelock
@@ -374,6 +396,7 @@ centric
cfg
cfkos
change's
+changelog
checkpointed
checkpointer
checkpointing
@@ -412,6 +435,7 @@ copyout
cp
cpuid
crc
+create's
crypto
cryptobad
ctime
@@ -453,6 +477,7 @@ decrypts
deflateCopy
deflateEnd
deflateInit
+defno
del
dequeue
dequeued
@@ -481,6 +506,7 @@ dst
dstlen
dsync
dumpcmp
+dumpfile
dup
eg
emp
@@ -553,6 +579,7 @@ getraw
gettime
gettimeofday
getv
+github
gobare
goesc
gostring
@@ -562,6 +589,7 @@ hashval
havesize
hdr
highjack
+hotbackup
html
huffman
hval
@@ -615,12 +643,14 @@ lbracket
len
lenp
level's
+leveldb
lex
lexicographically
lf
lfence
libdatasource
libs
+libtool
libwiredtiger
llll
llu
@@ -711,6 +741,7 @@ offpage
ok
ondisk
onint
+online
onpage
oo
opendir
@@ -726,6 +757,7 @@ parserp
patchp
pathname
pathnames
+perf
pfx
poptable
popthreads
@@ -768,6 +800,7 @@ readlock
readonly
readunlock
realloc
+rebalancing
recno
recnos
reconfig
@@ -785,6 +818,7 @@ rf
rle
rmw
rng
+rocksdb
rotN
rotn
rpc
@@ -830,6 +864,7 @@ strcmp
strdup
strerror
strftime
+strget
strlen
strncpy
strndup
@@ -852,6 +887,7 @@ sys
t's
tV
tablename
+tcbench
testutil
th
tid
@@ -918,6 +954,7 @@ util
uu
vW
va
+valgrind
valuep
valuev
vanishingly
@@ -938,14 +975,17 @@ wb
wiredtiger
workFactor
wrapup
+writeable
writelock
writeunlock
wrlock
wrlsn
ws
+wtbench
wti
wtperf
wts
+wtstats
xF
xff
xxxx