Skip to content

Commit 79e3528

Browse files
jsorefdormando
authored andcommitted
Spelling fixes
* accesses * amount * append * command * cyrillic * daemonize * detaches * detail * documentation * dynamically * enabled * existence * extra * implementations * incoming * increment * initialize * issue * javascript * number * optimization * overall * pipeline * reassign * reclaimed * response * responses * sigabrt * specific * specificity * tidiness
1 parent e3eb73d commit 79e3528

19 files changed

+35
-35
lines changed

ChangeLog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
2007-11-19 Dormando <[email protected]>
151151

152152
* Patch series from Tomash Brechko <[email protected]>:
153-
Minor fixes and optimisations.
153+
Minor fixes and optimizations.
154154

155155
* Patches from Chris, Dustin, and Dormando to fix CAS.
156156

@@ -201,7 +201,7 @@
201201
Patch from Maxim Dounin <[email protected]>
202202

203203
2007-08-21 Paul Lindner <[email protected]>
204-
* Incorporate incrememnt patch from Evan Miller
204+
* Incorporate increment patch from Evan Miller
205205
<[email protected]> to define increment overflow
206206
behavior.
207207

Doxyfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ CREATE_SUBDIRS = NO
5757
# Croatian, Czech, Danish, Dutch, Farsi, Finnish, French, German, Greek,
5858
# Hungarian, Italian, Japanese, Japanese-en (Japanese with English messages),
5959
# Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, Polish,
60-
# Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, Slovene,
60+
# Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, Slovene,
6161
# Spanish, Swedish, and Ukrainian.
6262

6363
OUTPUT_LANGUAGE = English
@@ -211,7 +211,7 @@ OPTIMIZE_OUTPUT_VHDL = NO
211211
# With this tag you can assign which parser to use for a given extension.
212212
# Doxygen has a built-in mapping, but you can override or extend it using this tag.
213213
# The format is ext=language, where ext is a file extension, and language is one of
214-
# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
214+
# the parsers supported by doxygen: IDL, Java, JavaScript, C#, C, C++, D, PHP,
215215
# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
216216
# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
217217
# use: inc=Fortran f=C
@@ -532,7 +532,7 @@ WARN_IF_UNDOCUMENTED = YES
532532

533533
WARN_IF_DOC_ERROR = YES
534534

535-
# This WARN_NO_PARAMDOC option can be abled to get warnings for
535+
# This WARN_NO_PARAMDOC option can be enabled to get warnings for
536536
# functions that are documented, but have no documentation for their parameters
537537
# or return value. If set to NO (the default) doxygen will only warn about
538538
# wrong or incomplete parameter documentation, but not about the absence of

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ if test "x$enable_coverage" != "xno"; then
171171
CFLAGS="$CFLAGS -pthread"
172172
AC_PATH_PROG([PROFILER], [gcov], "no", [$PATH])
173173
if test "x$PROFILER" != "xno"; then
174-
# Issue 97: The existense of gcov doesn't mean we have -lgcov
174+
# Issue 97: The existence of gcov doesn't mean we have -lgcov
175175
AC_CHECK_LIB(gcov, main,
176176
[
177177
PROFILER_FLAGS="-fprofile-arcs -ftest-coverage"

doc/Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ WARN_IF_UNDOCUMENTED = YES
430430

431431
WARN_IF_DOC_ERROR = YES
432432

433-
# This WARN_NO_PARAMDOC option can be abled to get warnings for
433+
# This WARN_NO_PARAMDOC option can be enabled to get warnings for
434434
# functions that are documented, but have no documentation for their parameters
435435
# or return value. If set to NO (the default) doxygen will only warn about
436436
# wrong or incomplete parameter documentation, but not about the absence of
@@ -602,7 +602,7 @@ REFERENCES_RELATION = YES
602602
# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
603603
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
604604
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
605-
# link to the source code. Otherwise they will link to the documentstion.
605+
# link to the source code. Otherwise they will link to the documentation.
606606

607607
REFERENCES_LINK_SOURCE = YES
608608

doc/memcached.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Override the default size of each slab page. The default size is 1mb. Default
143143
value for this parameter is 1m, minimum is 1k, max is 128m.
144144
Adjusting this value changes the item size limit.
145145
Beware that this also increases the number of slabs (use \-v to view), and the
146-
overal memory usage of memcached.
146+
overall memory usage of memcached.
147147
.TP
148148
.B \-S
149149
Turn on SASL authentication. This option is only meaningful if memcached was

doc/protocol-binary.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ Status (6,7) : 0x0000
14021402
Total body (8-11) : 0x00000007
14031403
Opaque (12-15): 0x00000000
14041404
CAS (16-23): 0x0000000000000000
1405-
Exstras : None
1405+
Extras : None
14061406
Key : The textual string "pid"
14071407
Value : The textual string "3078"
14081408
</artwork>

doc/protocol.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -657,10 +657,10 @@ integers separated by a colon (treat this as a floating point number).
657657
| cas_hits | 64u | Number of successful CAS reqs. |
658658
| cas_badval | 64u | Number of CAS reqs for which a key was |
659659
| | | found, but the CAS value did not match. |
660-
| touch_hits | 64u | Numer of keys that have been touched with |
661-
| | | a new expiration time |
662-
| touch_misses | 64u | Numer of items that have been touched and |
663-
| | | not found |
660+
| touch_hits | 64u | Number of keys that have been touched |
661+
| | | with a new expiration time |
662+
| touch_misses | 64u | Number of items that have been touched |
663+
| | | and not found |
664664
| auth_cmds | 64u | Number of authentication commands |
665665
| | | handled, success or failure. |
666666
| auth_errors | 64u | Number of failed authentications. |
@@ -794,7 +794,7 @@ other stats command.
794794
| worker_logbuf_size| 32u | Size of internal per-worker-thread buffer |
795795
| | | which the background thread reads from. |
796796
| track_sizes | bool | If yes, a "stats sizes" histogram is being |
797-
| | | dymamically tracked. |
797+
| | | dynamically tracked. |
798798
| inline_ascii_response |
799799
| | bool | If yes, stores numbers from VALUE response |
800800
| | | inside an item, using up to 24 bytes. |

doc/threads.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ THIS HAS CHANGED!
2727

2828
- Each LRU (and sub-LRU's in newer modes) has an independent lock.
2929

30-
- Raw accessses to the slab class are protected by a global slabs_lock. This
30+
- Raw accesses to the slab class are protected by a global slabs_lock. This
3131
is a short lock which covers pushing and popping free memory.
3232

3333
- item_lock must be held while modifying an item.
@@ -49,7 +49,7 @@ Various locks exist for background threads. They can be used to pause the
4949
thread execution or update settings while the threads are idle. They may call
5050
item or lru locks.
5151

52-
A low priority isssue:
52+
A low priority issue:
5353

5454
- If you remove the per-thread stats lock, CPU usage goes down by less than a
5555
point of a percent, and it does not improve scalability.

logger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ typedef struct _logentry {
9292
#define LOG_MUTATIONS (1<<3) /* set/append/incr/etc */
9393
#define LOG_SYSERRORS (1<<4) /* malloc/etc errors */
9494
#define LOG_CONNEVENTS (1<<5) /* new client, closed, etc */
95-
#define LOG_EVICTIONS (1<<6) /* defailts of evicted items */
95+
#define LOG_EVICTIONS (1<<6) /* details of evicted items */
9696
#define LOG_STRICT (1<<7) /* block worker instead of drop */
9797
#define LOG_RAWCMDS (1<<9) /* raw ascii commands */
9898

memcached.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5401,7 +5401,7 @@ static int server_socket_unix(const char *path, int access_mask) {
54015401
setsockopt(sfd, SOL_SOCKET, SO_LINGER, (void *)&ling, sizeof(ling));
54025402

54035403
/*
5404-
* the memset call clears nonstandard fields in some impementations
5404+
* the memset call clears nonstandard fields in some implementations
54055405
* that otherwise mess things up.
54065406
*/
54075407
memset(&addr, 0, sizeof(addr));
@@ -5517,7 +5517,7 @@ static void usage(void) {
55175517
" the daemon with (not for -u <username> user;\n"
55185518
" under sh this is done with 'ulimit -S -l NUM_KB').\n"
55195519
"-v verbose (print errors/warnings while in event loop)\n"
5520-
"-vv very verbose (also print client commands/reponses)\n"
5520+
"-vv very verbose (also print client commands/responses)\n"
55215521
"-vvv extremely verbose (also print internal state transitions)\n"
55225522
"-h print this help and exit\n"
55235523
"-i print memcached and libevent license\n"
@@ -5936,7 +5936,7 @@ int main (int argc, char **argv) {
59365936
/* process arguments */
59375937
while (-1 != (c = getopt(argc, argv,
59385938
"a:" /* access mask for unix socket */
5939-
"A" /* enable admin shutdown commannd */
5939+
"A" /* enable admin shutdown command */
59405940
"p:" /* TCP port number to listen on */
59415941
"s:" /* unix socket path to listen on */
59425942
"U:" /* UDP port number to listen on */
@@ -6366,7 +6366,7 @@ int main (int argc, char **argv) {
63666366
// chunk default should come after stitching is fixed.
63676367
//settings.slab_chunk_size_max = 16384;
63686368

6369-
// With slab_ressign, pages are always 1MB, so anything larger
6369+
// With slab_reassign, pages are always 1MB, so anything larger
63706370
// than .5m ends up using 1m anyway. With this we at least
63716371
// avoid having several slab classes that use 1m.
63726372
if (!slab_chunk_size_changed) {
@@ -6646,7 +6646,7 @@ int main (int argc, char **argv) {
66466646
/*
66476647
* initialization order: first create the listening sockets
66486648
* (may need root on low ports), then drop root if needed,
6649-
* then daemonise if needed, then init libevent (in some cases
6649+
* then daemonize if needed, then init libevent (in some cases
66506650
* descriptors created by libevent wouldn't survive forking).
66516651
*/
66526652

0 commit comments

Comments
 (0)