[SV 39709] Fix some typos.

This commit is contained in:
Paul Smith 2013-10-09 01:53:55 -04:00
parent 723e047428
commit dc9ae5e017
5 changed files with 15 additions and 11 deletions

View File

@ -1703,7 +1703,7 @@ Thu Sep 14 18:29:38 1989 Roland McGrath (mcgrath at paris.Berkeley.EDU)
existing variable's origin, is `o_env', make it `o_env_override'. existing variable's origin, is `o_env', make it `o_env_override'.
* load.c: Use the symbol KERNEL_FILE_NAME instead of KERNEL_FILE. * load.c: Use the symbol KERNEL_FILE_NAME instead of KERNEL_FILE.
* compatMakefile: Changed the comment for `LOAD_AVG' accordinly. * compatMakefile: Changed the comment for `LOAD_AVG' accordingly.
Thu Sep 7 16:46:26 1989 Roland McGrath (mcgrath at paris.Berkeley.EDU) Thu Sep 7 16:46:26 1989 Roland McGrath (mcgrath at paris.Berkeley.EDU)
@ -3218,7 +3218,7 @@ Sun Feb 5 19:52:38 1989 Roland McGrath (mcgrath at paris.Berkeley.EDU)
* variable.c (expand_function: `shell'): Use * variable.c (expand_function: `shell'): Use
`shell_function_completed'. Block children before forking and `shell_function_completed'. Block children before forking and
unblock after `shell_function_pid' is set properly and unblock after `shell_function_pid' is set properly and
`shell_functon_completed' is reset to 0. `shell_function_completed' is reset to 0.
* commands.c (child_handler): When the child of the `shell' function * commands.c (child_handler): When the child of the `shell' function
completes, set `shell_function_completed' to 1 if it actually ran, completes, set `shell_function_completed' to 1 if it actually ran,
@ -4465,7 +4465,7 @@ Fri Sep 16 13:59:59 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
`maxsuffix', and must be called before count_implicit_rule_limits. `maxsuffix', and must be called before count_implicit_rule_limits.
* rule.c (pattern_search): If an existent (non-intermediate) * rule.c (pattern_search): If an existent (non-intermediate)
dependendency was found via a terminal rule, set its dependency was found via a terminal rule, set its
`tried_implicit' flag, so it will never have implicit rule search done. `tried_implicit' flag, so it will never have implicit rule search done.
* glob.c: Bug fix to avoid alloca(0). * glob.c: Bug fix to avoid alloca(0).
@ -4826,7 +4826,7 @@ Sat Jul 30 15:47:23 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
new entry as the old entry's prev pointer. new entry as the old entry's prev pointer.
* dir.c: Re-indented the `struct dir' definition to be right. * dir.c: Re-indented the `struct dir' definition to be right.
(dir_load): Cleaned up slighty. (dir_load): Cleaned up slightly.
(file_exists_p): Removed comment saying we could use `access', since (file_exists_p): Removed comment saying we could use `access', since
that is a bad idea (except for setuid programs). Cleaned up slightly. that is a bad idea (except for setuid programs). Cleaned up slightly.

2
read.c
View File

@ -1073,7 +1073,7 @@ eval (struct ebuffer *ebuf, int set_default)
here, but merely copy, since now you're beyond a ";" here, but merely copy, since now you're beyond a ";"
and into a command script. However, the old parser and into a command script. However, the old parser
expanded the whole line, so we continue that for expanded the whole line, so we continue that for
backwards-compatiblity. Also, it wouldn't be backwards-compatibility. Also, it wouldn't be
entirely consistent, since we do an unconditional entirely consistent, since we do an unconditional
expand below once we know we don't have a expand below once we know we don't have a
target-specific variable. */ target-specific variable. */

View File

@ -1,3 +1,7 @@
2013-10-09 Paul Smith <psmith@gnu.org>
* scripts/features/patspecific_vars: Typo fixes.
2013-10-05 Paul Smith <psmith@gnu.org> 2013-10-05 Paul Smith <psmith@gnu.org>
* test_driver.pl (run_all_tests): Rewrite to be more clear. * test_driver.pl (run_all_tests): Rewrite to be more clear.

View File

@ -81,7 +81,7 @@ all: bar baz
b%: pattern := good $$t b%: pattern := good $$t
global := orginal $$t global := original $$t
# normal target # normal target
@ -103,14 +103,14 @@ else
%z: a := global: $(global) pattern: $(pattern) inherit: $(inherit) %z: a := global: $(global) pattern: $(pattern) inherit: $(inherit)
endif endif
%z: ; @echo \'pattrn: $a;\' %z: ; @echo \'pattern: $a;\'
global := new $$t global := new $$t
', ',
'', '',
'normal: global: orginal $t pattern: inherit: ; 'normal: global: original $t pattern: inherit: ;
pattrn: global: orginal $t pattern: inherit: ;'); pattern: global: original $t pattern: inherit: ;');
# TEST #7 -- test expansion of pattern-specific recursive variables # TEST #7 -- test expansion of pattern-specific recursive variables
@ -118,7 +118,7 @@ pattrn: global: orginal $t pattern: inherit: ;');
run_make_test(undef, # reuse previous makefile run_make_test(undef, # reuse previous makefile
'rec=1', 'rec=1',
'normal: global: new $t pattern: good $t inherit: good $t; 'normal: global: new $t pattern: good $t inherit: good $t;
pattrn: global: new $t pattern: good $t inherit: good $t;'); pattern: global: new $t pattern: good $t inherit: good $t;');
# TEST #8: override in pattern-specific variables # TEST #8: override in pattern-specific variables

View File

@ -1111,7 +1111,7 @@ done2:
/* /*
* Description: Clean up any leftover handles, etc. It is up to the * Description: Clean up any leftover handles, etc. It is up to the
* caller to manage and free the input, ouput, and stderr buffers. * caller to manage and free the input, output, and stderr buffers.
*/ */
void void
process_cleanup( process_cleanup(