* maintMakefile: Apply spelling fixes.
* src/file.c: Ditto.
* src/misc.c: Ditto.
* src/remake.c: Ditto.
* src/vmsjobs.c: Ditto.
* src/w32/pathstuff.c: Ditto.
* tests/test_driver.pl: Ditto.
* tests/run_make_tests.com: Ditto
* tests/scripts/features/implicit_search: Ditto
* tests/scripts/features/output-sync: Ditto
* tests/scripts/features/patternrules: Ditto
* tests/scripts/features/se_explicit: Ditto
* tests/scripts/features/statipattrules: Ditto
* tests/scripts/functions/foreach: Ditto
* tests/scripts/variables/MAKEFLAGS: Ditto
$(FTPPUT) "$(gnu-upload-host)" "$(gnu-upload-dir)/$(@:upload-%=%)" $^
-# Rebuild Makefile.in if this file is modifed.
+# Rebuild Makefile.in if this file is modified.
Makefile.in: maintMakefile
# Copyright (C) 1997-2022 Free Software Foundation, Inc.
else
no_intermediates = 1;
- /* The same file connot be both .INTERMEDIATE and .NOTINTERMEDIATE.
+ /* The same file cannot be both .INTERMEDIATE and .NOTINTERMEDIATE.
However, it is possible for a file to be .INTERMEDIATE and also match a
.NOTINTERMEDIATE pattern. In that case, the intermediate file has
priority over the notintermediate pattern. This priority is enforced by
*name = NULL;
else
{
- /* If there's an os-specific way to get an anoymous temp file use it. */
+ /* If there's an os-specific way to get an anonymous temp file use it. */
fd = os_anontmp ();
if (fd >= 0)
return fd;
#include <io.h>
#include <sys/stat.h>
#if defined(_MSC_VER) && _MSC_VER > 1200
-/* VC7 or later supprots _stat64 to access 64-bit file size. */
+/* VC7 or later supports _stat64 to access 64-bit file size. */
#define STAT _stat64
#else
#define STAT stat
Create a *.com file if either the command is too long for
lib$spawn, or if a redirect appending to a file is desired, or
- symbol substitition.
+ symbol substitution.
*/
if (vms_always_use_cmd_file || token.use_cmd_file)
#endif
pathp += strlen(pathp);
- *pathp++ = ':'; /* use Unix style path separtor for new path */
+ *pathp++ = ':'; /* use Unix style path separator for new path */
*pathp = '\0'; /* make sure we are null terminaed */
/* restore path separator */
$! this program. If not, see <https://www.gnu.org/licenses/>.
$!
$!
-$! Allow more than 8 paramters with using commas as a delimiter.
+$! Allow more than 8 parameters with using commas as a delimiter.
$!
$ params = "''p1',''p2',''p3',''p4',''p5',''p6',''p7',''p8'"
$!
# One of the implicit rules has two prerequisites, hello.c and hello.x
# hello.c does not qualify as ought to exit.
# hello.x can be made from hello.z.
-# This test exersizes the break, which prevents making hello.x as an
+# This test exercises the break, which prevents making hello.x as an
# intermediate from hello.z during compatibility search.
unlink('hello.f');
touch('hello.z');
!, '-r', "true good\nhello.tsk\n");
# Intermediate prerequisite 'hello.x' has a target specific variable, a pattern
-# specfic variable, matches on both rules '%.tsk: %.x' and 'big_%.tsk: %.x'.
+# specific variable, matches on both rules '%.tsk: %.x' and 'big_%.tsk: %.x'.
run_make_test(q!
all: hello.tsk big_hello.tsk
%.tsk: %.x; $(info $@)
# SV 63333. Test that make continues to run without output sync when we
# cannot create a temporary file.
# Create a non-writable temporary directory.
-# Run the test twice, because run_make_test cannot match a regex againt a
+# Run the test twice, because run_make_test cannot match a regex against a
# multiline input.
my $tdir = 'test_tmp_dir';
mkdir($tdir, 0500);
my $dollar = $se ? '$' : '';
# The prerequisite should only have directory if the prerequisite of 'all' has
-# it and if the prequisite pattern in the rule definition does not have it.
+# it and if the prerequisite pattern in the rule definition does not have it.
# That is combination 2.
my $pdir = $d && !$r ? $d : '';
#MAKE#: 'hello.tsk' is up to date.\n");
# sv 62706.
-# Multipe rules per target.
+# Multiple rules per target.
run_make_test(q!
.SECONDEXPANSION:
my $dollar = $se ? '$' : '';
# The prerequisite should only have directory if the prerequisite of 'all' has
-# it and if the prequisite pattern in the rule definition does not have it.
+# it and if the prerequisite pattern in the rule definition does not have it.
# That is combination 2.
my $pdir = $d && !$r ? $d : '';
# Multiple funcs, each has multiple words, each word has multiple %, sole %,
# various corner cases.
-# Make should substitude the first % and only the first % in each word with the
+# Make should substitute the first % and only the first % in each word with the
# stem.
$prereqs = "${pdir}bye1%2% ${pdir}bye 3${pdir}bye4%5 6${pdir}bye ${pdir}bye7%8 ${pdir}bye9 ${pdir}bye10% 11${pdir}bye12 13";
run_make_test("
$details = "This is a test of the foreach function in gnu make.
This function starts with a space separated list of
-names and a variable. Each name in the list is subsituted
+names and a variable. Each name in the list is substituted
into the variable and the given text evaluated. The general
form of the command is $(foreach var,\$list,\$text). Several
types of foreach loops are tested\n";
}
}
-# Strawberry Perl's exec()--or someting!--appears to replace all /tmp with the
+# Strawberry Perl's exec()--or something!--appears to replace all /tmp with the
# user's %TEMP% value so we can't use that for -I testing. Make a directory.
mkdir('localtmp', 0777);
all:; $(info $(hello))');
# sv 63347.
-# Test that a cli definition takes precendence over a definition set in
+# Test that a cli definition takes precedence over a definition set in
# submake.
run_make_test(q!
v:=$(shell $(MAKE) -C bye --no-print-directory)
return 1 if ($log eq $kgo);
# VMS wants target device to exist or generates an error,
- # Some test tagets look like VMS devices and trip this.
+ # Some test targets look like VMS devices and trip this.
$log =~ s/^.+\: no such device or address.*$//gim;
$log =~ s/\n\n/\n/gm;
$log =~ s/^\n+//gm;