diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-22 11:13:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-22 11:15:38 +0200 |
commit | fc090acf829d0053c0a611acd73f08b51128031d (patch) | |
tree | 981e34facb049c5fd4eaecf4ec3244e029a8c4d5 /sal/osl/unx | |
parent | ea4581a914cb1aad29f16b73e35350f05f8adc1c (diff) |
Fix misspellings detected by https://github.com/lyda/misspell-check
Just as a test to check the usefulness of that tool. It needs some improvement
before really usable.
Change-Id: I875e79c1992ed5f3b695736b0d49938ad0ba2d55
Diffstat (limited to 'sal/osl/unx')
-rw-r--r-- | sal/osl/unx/file_url.cxx | 2 | ||||
-rw-r--r-- | sal/osl/unx/process.cxx | 2 | ||||
-rw-r--r-- | sal/osl/unx/salinit.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx index 7c28b8ca4ca9..203d17f3d38b 100644 --- a/sal/osl/unx/file_url.cxx +++ b/sal/osl/unx/file_url.cxx @@ -182,7 +182,7 @@ oslFileError SAL_CALL osl_getSystemPathFromFileURL( rtl_uString *ustrFileURL, rt { nOffset += nIndex; - /* break url down in '/' devided tokens tokens */ + /* break url down in '/' divided tokens tokens */ nIndex = rtl_ustr_indexOfChar_WithLength( ustrFileURL->buffer + nOffset, ustrFileURL->length - nOffset, (sal_Unicode) '/' ); /* copy token to new string */ diff --git a/sal/osl/unx/process.cxx b/sal/osl/unx/process.cxx index cf246c5ce9a5..aa71c36b0258 100644 --- a/sal/osl/unx/process.cxx +++ b/sal/osl/unx/process.cxx @@ -1158,7 +1158,7 @@ static int is_timeout(const struct timeval* tend) } /********************************************** - kill(pid, 0) is usefull for checking if a + kill(pid, 0) is useful for checking if a process is still alive, but remember that kill even returns 0 if the process is already a zombie. diff --git a/sal/osl/unx/salinit.cxx b/sal/osl/unx/salinit.cxx index 4211d081ad7e..49fddeaeaf9f 100644 --- a/sal/osl/unx/salinit.cxx +++ b/sal/osl/unx/salinit.cxx @@ -46,7 +46,7 @@ void sal_detail_initialize(int argc, char ** argv) { // <https://bugs.freedesktop.org/show_bug.cgi?id=50603> "Unable to update // LibreOffice without resetting user profile"). But closing fds in // restartOnMac before calling exec does not work, as additional threads - // might still be running then, wich can still use those fds and cause + // might still be running then, which can still use those fds and cause // crashes. Therefore, the simples solution is to close fds at process // start (as early as possible, so that no other threads have been created // yet that might already have opened some fds); this is done for all kinds |