From: Ville Skyttä Date: Sun, 12 Jun 2016 07:02:12 +0000 (+0300) Subject: Doc and comment spelling fixes X-Git-Tag: v3.2.6~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2f6c0f2b6ef1ef4361df0a81c5ceb670d72ce6;p=thirdparty%2Fccache.git Doc and comment spelling fixes --- diff --git a/HACKING.txt b/HACKING.txt index 175871a4f..e025c11d5 100644 --- a/HACKING.txt +++ b/HACKING.txt @@ -11,7 +11,7 @@ Code formatting * Put no space between function name and the following parenthesis. * Put one space between if/switch/for/while/do and opening curly brace. * Always use curly braces around if/for/while/do bodies, even if they only - contains one statement. + contain one statement. * If possible, keep lines at most 80 character wide for a 2 character tab width. * Use only lowercase names for functions and variables. diff --git a/MANUAL.txt b/MANUAL.txt index 99930194b..5a5edd452 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -367,7 +367,7 @@ WRAPPERS>>. If true, ccache will include the current working directory in the hash that is used to distinguish two compilations. This prevents a problem with the - storage of the current working directory in the debug info of a object + storage of the current working directory in the debug info of an object file, which can lead ccache to give a cached object file that has the working directory in the debug info set incorrectly. This option is off by default as the incorrect setting of this debug info rarely causes problems. diff --git a/ccache.c b/ccache.c index d173df28c..02beab0e5 100644 --- a/ccache.c +++ b/ccache.c @@ -1865,7 +1865,7 @@ from_cache(enum fromcache_call_mode mode, bool put_object_in_manifest) x_exit(0); } -/* find the real compiler. We just search the PATH to find a executable of the +/* find the real compiler. We just search the PATH to find an executable of the * same name that isn't a link to ourselves */ static void find_compiler(char **argv) diff --git a/uncrustify.cfg b/uncrustify.cfg index 50f0ee3ed..ae4c0e998 100644 --- a/uncrustify.cfg +++ b/uncrustify.cfg @@ -106,7 +106,7 @@ indent_ctor_init = 0 # number # True=indent the 'if' one level indent_else_if = false # false/true -# Amount to indent variable declarations after a open brace. neg=relative, pos=absolute +# Amount to indent variable declarations after an open brace. neg=relative, pos=absolute indent_var_def_blk = 0 # number # Indent continued variable declarations instead of aligning. @@ -1076,15 +1076,15 @@ nl_ds_struct_enum_close_brace = false # false/true # Related to pos_class_colon, nl_class_init_args, and pos_comma. nl_class_colon = ignore # ignore/add/remove/force -# Change simple unbraced if statements into a one-liner +# Change simple unbraced if statements into an one-liner # 'if(b)\n i++;' => 'if(b) i++;' nl_create_if_one_liner = false # false/true -# Change simple unbraced for statements into a one-liner +# Change simple unbraced for statements into an one-liner # 'for (i=0;i<5;i++)\n foo(i);' => 'for (i=0;i<5;i++) foo(i);' nl_create_for_one_liner = false # false/true -# Change simple unbraced while statements into a one-liner +# Change simple unbraced while statements into an one-liner # 'while (i<5)\n foo(i++);' => 'while (i<5) foo(i++);' nl_create_while_one_liner = false # false/true @@ -1352,7 +1352,7 @@ cmt_insert_func_header = "" # string # Will substitute $(class) with the class name. cmt_insert_class_header = "" # string -# The filename that contains text to insert before a Obj-C message specification if the method isn't preceeded with a C/C++ comment. +# The filename that contains text to insert before an Obj-C message specification if the method isn't preceded with a C/C++ comment. # Will substitute $(message) with the function name and $(javaparam) with the javadoc @param and @return stuff. cmt_insert_oc_msg_header = "" # string