diff options
author | uqs <uqs@FreeBSD.org> | 2011-12-30 11:02:40 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-12-30 11:02:40 +0000 |
commit | 9953595f973c461c2729e5a7cde9380a3d3d2c9a (patch) | |
tree | d145ece02284bd86561f373fcb369e260154153b /usr.bin/make | |
parent | f4753a04d4771c2013dc576b6455d28c5e64e93e (diff) | |
download | FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.zip FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.tar.gz |
Spelling fixes for usr.bin/
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/GNode.h | 2 | ||||
-rw-r--r-- | usr.bin/make/arch.c | 10 | ||||
-rw-r--r-- | usr.bin/make/buf.c | 2 | ||||
-rw-r--r-- | usr.bin/make/for.c | 2 | ||||
-rw-r--r-- | usr.bin/make/job.c | 2 | ||||
-rw-r--r-- | usr.bin/make/main.c | 12 | ||||
-rw-r--r-- | usr.bin/make/str.c | 4 | ||||
-rw-r--r-- | usr.bin/make/var.c | 2 |
8 files changed, 18 insertions, 18 deletions
diff --git a/usr.bin/make/GNode.h b/usr.bin/make/GNode.h index 71d2afd..05af1d0 100644 --- a/usr.bin/make/GNode.h +++ b/usr.bin/make/GNode.h @@ -139,7 +139,7 @@ typedef struct GNode { UPTODATE, /* Was already up-to-date */ /* - * An error occured while it was being + * An error occurred while it was being * made (used only in compat mode) */ ERROR, diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c index 9cd0a1c..e4f6b0d 100644 --- a/usr.bin/make/arch.c +++ b/usr.bin/make/arch.c @@ -179,8 +179,8 @@ Boolean arch_fatal = TRUE; /** * ArchError - * An error happend while handling an archive. BSDmake traditionally - * ignored these errors. Now this is dependend on the global arch_fatal + * An error happened while handling an archive. BSDmake traditionally + * ignored these errors. Now this is dependent on the global arch_fatal * which, if true, makes these errors fatal and, if false, just emits an * error message. */ @@ -529,7 +529,7 @@ ArchArchiveOpen(const char *archive, const char *mode) /* * Read the next header from the archive. The return value will be +1 if - * the header is read successfully, 0 on EOF and -1 if an error happend. + * the header is read successfully, 0 on EOF and -1 if an error happened. * On a successful return sname contains the truncated member name and * member the full name. hdr contains the member header. For the symbol table * names of length 0 are returned. The entry for the file name table is never @@ -830,7 +830,7 @@ ArchFindMember(const char *archive, const char *member, const char *mode) * (3) the name is longer and the archive doesn't support long * names. * Because we don't know whether the archive supports long - * names or not we need to be carefull. + * names or not we need to be careful. */ if (member == NULL) { /* special case - symbol table */ @@ -942,7 +942,7 @@ ArchStatMember(const char *archive, const char *member, Boolean hash) ArchArchiveClose(arf); if (t < 0) { - /* error happend - throw away everything */ + /* error happened - throw away everything */ Hash_DeleteTable(&ar->members); free(ar->name); free(ar); diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c index 7c6c01f..fa866d3 100644 --- a/usr.bin/make/buf.c +++ b/usr.bin/make/buf.c @@ -206,7 +206,7 @@ Buf_Destroy(Buffer *buf, Boolean freeData) /** * Replace the last byte in a buffer. If the buffer was empty - * intially, then a new byte will be added. + * initially, then a new byte will be added. */ void Buf_ReplaceLastByte(Buffer *bp, Byte byte) diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c index f2eccce..1b2e578 100644 --- a/usr.bin/make/for.c +++ b/usr.bin/make/for.c @@ -218,7 +218,7 @@ For_Eval(char *line) /*- *----------------------------------------------------------------------- * For_Run -- - * Run the for loop, immitating the actions of an include file + * Run the for loop, imitating the actions of an include file * * Results: * None. diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 75f7949..2798181 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1897,7 +1897,7 @@ JobOutput(Job *job, char *cp, char *endp, int msg) * this makes up a line, we print it tagged by the job's identifier, * as necessary. * If output has been collected in a temporary file, we open the - * file and read it line by line, transfering it to our own + * file and read it line by line, transferring it to our own * output channel until the file is empty. At which point we * remove the temporary file. * In both cases, however, we keep our figurative eye out for the diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index daeada4..fe5ae58 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -267,13 +267,13 @@ ReadMakefile(const char p[]) * XXX The realpath stuff breaks relative includes * XXX in some cases. The problem likely is in * XXX parse.c where it does special things in - * XXX ParseDoInclude if the file is relateive + * XXX ParseDoInclude if the file is relative * XXX or absolute and not a system file. There * XXX it assumes that if the current file that's * XXX being included is absolute, that any files * XXX that it includes shouldn't do the -I path - * XXX stuff, which is inconsistant with historical - * XXX behavior. However, I can't pentrate the mists + * XXX stuff, which is inconsistent with historical + * XXX behavior. However, I can't penetrate the mists * XXX further, so I'm putting this workaround in * XXX here until such time as the underlying bug * XXX can be fixed. @@ -675,7 +675,7 @@ chdir_verify_path(const char *path, char *obpath) * prevent a forkbomb from happening, in a dumb and mechanical way. * * Side Effects: - * Creates or modifies enviornment variable MKLVL_ENVVAR via setenv(). + * Creates or modifies environment variable MKLVL_ENVVAR via setenv(). */ static void check_make_level(void) @@ -954,7 +954,7 @@ main(int argc, char **argv) } /* - * Set machine_cpu to the minumum supported CPU revision based + * Set machine_cpu to the minimum supported CPU revision based * on the target architecture, if not already set. */ if ((machine_cpu = getenv("MACHINE_CPU")) == NULL) { @@ -1047,7 +1047,7 @@ main(int argc, char **argv) * * Once things are initted, * have to add the original directory to the search path, - * and modify the paths for the Makefiles apropriately. The + * and modify the paths for the Makefiles appropriately. The * current directory is also placed as a variable for make scripts. */ if (!(pathp = getenv("MAKEOBJDIRPREFIX"))) { diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c index 286eac5..ce4ac05 100644 --- a/usr.bin/make/str.c +++ b/usr.bin/make/str.c @@ -50,10 +50,10 @@ __FBSDID("$FreeBSD$"); /** * Initialize the argument array object. The array is initially - * eight positions, and will be expaned as neccessary. The first + * eight positions, and will be expanded as necessary. The first * position is set to NULL since everything ignores it. We allocate * (size + 1) since we need space for the terminating NULL. The - * buffer is set to NULL, since no common buffer is alloated yet. + * buffer is set to NULL, since no common buffer is allocated yet. */ void ArgArray_Init(ArgArray *aa) diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index 534abca..a7babaf 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -842,7 +842,7 @@ VarLocal(const char name[]) } /** - * Find the given variable in the given context and the enviornment. + * Find the given variable in the given context and the environment. * * Results: * A pointer to the structure describing the desired variable or |