summaryrefslogtreecommitdiff
path: root/sal/osl/os2/process.c
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2014-04-29 19:25:03 +0000
committerPedro Giffuni <pfg@apache.org>2014-04-29 19:25:03 +0000
commit28206a7cb43aff5adb10f8235ad1680c3941ee3e (patch)
tree89886aa22af7483120081efc38a138d737651703 /sal/osl/os2/process.c
parentc3f20ae9a447f50517fe545a53de91d412c3337c (diff)
Many spelling fixes: directories r* - z*.
Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame the international nature of the code but it is somewhat shameful that this wasn't done before.
Notes
Diffstat (limited to 'sal/osl/os2/process.c')
-rw-r--r--sal/osl/os2/process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/osl/os2/process.c b/sal/osl/os2/process.c
index 185a6ca6a57f..9fcc9bd0f1a3 100644
--- a/sal/osl/os2/process.c
+++ b/sal/osl/os2/process.c
@@ -464,11 +464,11 @@ oslProcessError SAL_CALL osl_psz_executeProcess(sal_Char *pszImageName,
OSL_TRACE( "osl_executeProcess with DosExecPgm (args: %s)\n", args );
- /* calculate needed space for environment: since enviroment var search
- is a linear scan of the current enviroment, we place new variables
+ /* calculate needed space for environment: since environment var search
+ is a linear scan of the current environment, we place new variables
before existing ones; so the child will find new definitions before
olders; this doesn't require us to replace existing vars */
- // existing enviroment size
+ // existing environment size
n = 0;
p = environ;
while( *p)
@@ -848,7 +848,7 @@ oslProcessError SAL_CALL osl_getCommandArgs( sal_Char* pszBuffer, sal_uInt32 Max
{
/*
* C-Runtime expects char to be unsigned and so to be
- * preceeded with 00 instead of FF when converting to int
+ * preceded with 00 instead of FF when converting to int
*/
int n = *((unsigned char *) pszCmdLine);
if (! (isspace(n) || (*pszCmdLine == '\0')) )