summaryrefslogtreecommitdiff
path: root/dmake
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2010-12-04 12:39:00 +0900
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 17:18:37 +0000
commit7f11a1b9db7039cb3387930410accdba40a6061b (patch)
tree3a4a2b5a27d00f0b0f52892b42f2c15976e3b4ad /dmake
parente7f45a36f33b784db7fa0b981e6a23efef3ee467 (diff)
Replace all occured, occurance etc.
Diffstat (limited to 'dmake')
-rw-r--r--dmake/dbug/dbug/dbug.c2
-rw-r--r--dmake/dmake.c2
-rw-r--r--dmake/dmstring.c2
-rw-r--r--dmake/make.c2
-rw-r--r--dmake/path.c2
-rw-r--r--dmake/rulparse.c2
-rw-r--r--dmake/sysintf.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/dmake/dbug/dbug/dbug.c b/dmake/dbug/dbug/dbug.c
index c212161f6cac..6262f89431dd 100644
--- a/dmake/dbug/dbug/dbug.c
+++ b/dmake/dbug/dbug/dbug.c
@@ -235,7 +235,7 @@ LOCAL BOOLEAN DoProfile (); /* Check if profiling is enabled */
/* Supplied in Sys V runtime environ */
LOCAL char *strtok (); /* Break string into tokens */
-LOCAL char *strrchr (); /* Find last occurance of char */
+LOCAL char *strrchr (); /* Find last occurrence of char */
/*
* The following local variables are used to hold the state information
diff --git a/dmake/dmake.c b/dmake/dmake.c
index 52db2b6049da..4a4dd6fd2212 100644
--- a/dmake/dmake.c
+++ b/dmake/dmake.c
@@ -292,7 +292,7 @@ char **argv;
HASHPTR hp;
/* This cleans the .SILENT setting */
hp = Def_macro(".SILENT", "", M_EXPANDED);
- /* This overrides the bitmask for further occurences of
+ /* This overrides the bitmask for further occurrences of
* .SILENT to "no bits allowed", see bit variables in the
* set_macro_value() definition in dag.c.
* The bitmask is already set by Create_macro_vars() in
diff --git a/dmake/dmstring.c b/dmake/dmstring.c
index 9659fc406768..53068a9deba0 100644
--- a/dmake/dmstring.c
+++ b/dmake/dmstring.c
@@ -200,7 +200,7 @@ char *str;
PUBLIC char *
DmStrPbrk( s1, s2 )/*
====================
- find first occurence of char in s2 in string s1.
+ find first occurrence of char in s2 in string s1.
Returns a pointer to the first occurrence. NOTE '\0' is considered part
of s2 and a pointer to it is returned if no other chars match. */
diff --git a/dmake/make.c b/dmake/make.c
index 67af0653d35f..ebff575d5c8e 100644
--- a/dmake/make.c
+++ b/dmake/make.c
@@ -1254,7 +1254,7 @@ Exec_commands( cp )/*
The function returns 0, if the command is executed and has successfully
returned, and it returns 1 if the command is executing but has not yet
- returned or -1 if an error occured (Return value from Do_cmnd()).
+ returned or -1 if an error occurred (Return value from Do_cmnd()).
Macros that are found in recipe lines are expanded in this function, in
parallel builds this can mean they are expanded before the previous recipe
diff --git a/dmake/path.c b/dmake/path.c
index ead163394175..d50b7593eec1 100644
--- a/dmake/path.c
+++ b/dmake/path.c
@@ -181,7 +181,7 @@ char *path;
#ifdef HAVE_DRIVE_LETTERS
- /* Change all occurences from DirBrkStr to *DirSepStr. This assumes
+ /* Change all occurrences from DirBrkStr to *DirSepStr. This assumes
* that when HAVE_DRIVE_LETTERS is set the directory separator is
* either '\' or '/'. */
if (*DirSepStr == '/')
diff --git a/dmake/rulparse.c b/dmake/rulparse.c
index 471c83577d18..4f909c90b7ac 100644
--- a/dmake/rulparse.c
+++ b/dmake/rulparse.c
@@ -1194,7 +1194,7 @@ CELLPTR prereq;
* definitions for the %-target members are stored in the prerequisites
* list of the master target. */
/* This relies on target->ce_prq being NULL if this is the first
- * occurence of this %-target and therefore not yet having a %-target
+ * occurrence of this %-target and therefore not yet having a %-target
* master. */
match = FALSE;
for(edl=target->ce_prq; !match && edl != NIL(LINK); edl=edl->cl_next) {
diff --git a/dmake/sysintf.c b/dmake/sysintf.c
index d7b482a3e405..bed71916a1cd 100644
--- a/dmake/sysintf.c
+++ b/dmake/sysintf.c
@@ -278,7 +278,7 @@ int last; /* Last recipe line in target. */
DB_RETURN( 0 );
}
- /* Stop making the rest of the recipies for this target if an error occured
+ /* Stop making the rest of the recipies for this target if an error occurred
* but the Continue (-k) flag is set to build as much as possible. */
if ( target->ce_attr & A_ERROR ) {
if ( last ) {