From d5de9977dfc7c710c56744e801852a8c97ebec96 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 17 Mar 2008 15:51:39 -0500 Subject: [PATCH] kernel32: Spelling fixes. --- dlls/kernel32/cpu.c | 2 +- dlls/kernel32/debugger.c | 2 +- dlls/kernel32/global16.c | 2 +- dlls/kernel32/kernel_main.c | 6 +++--- dlls/kernel32/pthread.c | 2 +- dlls/kernel32/registry16.c | 2 +- dlls/kernel32/sync.c | 4 ++-- dlls/kernel32/tests/alloc.c | 4 ++-- dlls/kernel32/tests/comm.c | 4 ++-- dlls/kernel32/tests/format_msg.c | 2 +- dlls/kernel32/tests/locale.c | 2 +- dlls/kernel32/tests/path.c | 8 ++++---- dlls/kernel32/tests/thread.c | 4 ++-- dlls/kernel32/thread.c | 2 +- dlls/kernel32/time.c | 16 ++++++++-------- 15 files changed, 31 insertions(+), 31 deletions(-) diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c index 85027ebc2c..a2ecb344f7 100644 --- a/dlls/kernel32/cpu.c +++ b/dlls/kernel32/cpu.c @@ -319,7 +319,7 @@ BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER counter) /**************************************************************************** * QueryPerformanceFrequency (KERNEL32.@) * - * Get the resolution of the performace counter. + * Get the resolution of the performance counter. * * PARAMS * frequency [O] Destination for the counter resolution diff --git a/dlls/kernel32/debugger.c b/dlls/kernel32/debugger.c index df4dc5022b..5958f6eb0a 100644 --- a/dlls/kernel32/debugger.c +++ b/dlls/kernel32/debugger.c @@ -340,7 +340,7 @@ BOOL WINAPI DebugBreakProcess(HANDLE hProc) /*********************************************************************** * DebugBreak (KERNEL.203) * - * Raises an expection in a 16 bit application so that a debugger (if attached) + * Raises an exception in a 16 bit application so that a debugger (if attached) * can take some action. * * PARAMS diff --git a/dlls/kernel32/global16.c b/dlls/kernel32/global16.c index 677d3e5f9d..2fdb5d8eb5 100644 --- a/dlls/kernel32/global16.c +++ b/dlls/kernel32/global16.c @@ -1065,7 +1065,7 @@ BOOL16 WINAPI MemManInfo16( MEMMANINFO *info ) MEMORYSTATUS status; /* - * Not unsurprisingly although the documention says you + * Not unsurprisingly although the documentation says you * _must_ provide the size in the dwSize field, this function * (under Windows) always fills the structure and returns true. */ diff --git a/dlls/kernel32/kernel_main.c b/dlls/kernel32/kernel_main.c index 86e4a39dab..be1212f284 100644 --- a/dlls/kernel32/kernel_main.c +++ b/dlls/kernel32/kernel_main.c @@ -266,9 +266,9 @@ ULONGLONG WINAPI GetTickCount64(void) * The current tick count. * * NOTES - * -The value returned will wrap arounf every 2^32 milliseconds. - * -Under Windows, tick 0 is the moment at which the system is rebooted. - * Under Wine, tick 0 begins at the moment the wineserver process is started, + * The value returned will wrap around every 2^32 milliseconds. + * Under Windows, tick 0 is the moment at which the system is rebooted. + * Under Wine, tick 0 begins at the moment the wineserver process is started. */ DWORD WINAPI GetTickCount(void) { diff --git a/dlls/kernel32/pthread.c b/dlls/kernel32/pthread.c index dcb08634aa..9e7dd2e8a9 100644 --- a/dlls/kernel32/pthread.c +++ b/dlls/kernel32/pthread.c @@ -296,7 +296,7 @@ static int wine_pthread_rwlock_unlock(pthread_rwlock_t *rwlock) * at http://www.cs.wustl.edu/~schmidt/win32-cv-1.html and * http://www.cs.wustl.edu/~schmidt/win32-cv-2.html. * This paper formed the basis for the condition variable - * impementation used in the ACE library. + * implementation used in the ACE library. */ /* Possible problems with ACE: diff --git a/dlls/kernel32/registry16.c b/dlls/kernel32/registry16.c index 5c84f12b6e..f64e490da2 100644 --- a/dlls/kernel32/registry16.c +++ b/dlls/kernel32/registry16.c @@ -168,7 +168,7 @@ DWORD WINAPI RegEnumValue16( HKEY hkey, DWORD index, LPSTR value, LPDWORD val_co * * HACK * The 16bit RegQueryValue doesn't handle selectorblocks anyway, so we just - * mask out the high 16 bit. This (not so much incidently) hopefully fixes + * mask out the high 16 bit. This (not so much incidentally) hopefully fixes * Aldus FH4) */ DWORD WINAPI RegQueryValue16( HKEY hkey, LPCSTR name, LPSTR data, LPDWORD count ) diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c index b8b8f0cf71..06efdec18a 100644 --- a/dlls/kernel32/sync.c +++ b/dlls/kernel32/sync.c @@ -1054,7 +1054,7 @@ BOOL WINAPI DeleteTimerQueueEx(HANDLE TimerQueue, HANDLE CompletionEvent) * expires, the callback function is called. * * RETURNS - * nonzero on success or zero on faillure + * nonzero on success or zero on failure * * BUGS * Unimplemented @@ -1074,7 +1074,7 @@ BOOL WINAPI CreateTimerQueueTimer( PHANDLE phNewTimer, HANDLE TimerQueue, * Cancels a timer-queue timer. * * RETURNS - * nonzero on success or zero on faillure + * nonzero on success or zero on failure * * BUGS * Unimplemented diff --git a/dlls/kernel32/tests/alloc.c b/dlls/kernel32/tests/alloc.c index fed6247a44..8cb0915c5e 100644 --- a/dlls/kernel32/tests/alloc.c +++ b/dlls/kernel32/tests/alloc.c @@ -166,7 +166,7 @@ static void test_Heap(void) GlobalMemoryStatusEx */ /* In addition, these features aren't being tested - GMEM_DISCADABLE + GMEM_DISCARDABLE GMEM_NOCOMPACT */ static void test_Global(void) @@ -258,7 +258,7 @@ static void test_Global(void) LocalFlags */ /* In addition, these features aren't being tested - LMEM_DISCADABLE + LMEM_DISCARDABLE LMEM_NOCOMPACT */ static void test_Local(void) diff --git a/dlls/kernel32/tests/comm.c b/dlls/kernel32/tests/comm.c index 66fc770b31..36e46ad5c6 100644 --- a/dlls/kernel32/tests/comm.c +++ b/dlls/kernel32/tests/comm.c @@ -393,7 +393,7 @@ static TEST test[] = #define TEST_COUNT (sizeof(test) / sizeof(TEST)) -/* This function can be useful if you are modifiying the test cases and want to +/* This function can be useful if you are modifying the test cases and want to output the contents of a DCB structure. */ /*static print_dcb(DCB *pdcb) { @@ -870,7 +870,7 @@ static void test_LoopbackRead(HANDLE hcom) ok(ReadFile(hcom, rbuf, sizeof(rbuf), &read, NULL), "Readfile failed\n"); ok(read == sizeof(tbuf),"ReadFile read %d bytes, expected \"%s\"\n", read,rbuf); - /* Now do the same withe a slower Baud rate. + /* Now do the same with a slower Baud rate. As we request more characters then written, we will hit the timeout */ diff --git a/dlls/kernel32/tests/format_msg.c b/dlls/kernel32/tests/format_msg.c index 23b0a091cb..1f52da9a8f 100644 --- a/dlls/kernel32/tests/format_msg.c +++ b/dlls/kernel32/tests/format_msg.c @@ -158,7 +158,7 @@ static void test_message_from_string(void) ok(!strcmp("test", out),"failed out=[%s]\n",out); ok(r==4,"failed: r=%d\n",r); - /* %! prints an exclaimation */ + /* %! prints an exclamation */ r = doit(FORMAT_MESSAGE_FROM_STRING, "yah%!%0 ", 0, 0, out, sizeof(out)/sizeof(CHAR)); ok(!strcmp("yah!", out),"failed out=[%s]\n",out); diff --git a/dlls/kernel32/tests/locale.c b/dlls/kernel32/tests/locale.c index 863134b37a..47f50b15a0 100644 --- a/dlls/kernel32/tests/locale.c +++ b/dlls/kernel32/tests/locale.c @@ -184,7 +184,7 @@ static void test_GetTimeFormatA(void) ret = GetTimeFormatA(lcid, NUO|TIME_FORCE24HOURFORMAT, &curtime, input, buffer, COUNTOF(buffer)); EXPECT_FLAGS; EXPECT_LEN(0); EXPECT_EQA; - STRINGSA("tt HH':'mm'@'ss", "A"); /* Insufficent buffer */ + STRINGSA("tt HH':'mm'@'ss", "A"); /* Insufficient buffer */ SetLastError(0xdeadbeef); ret = GetTimeFormatA(lcid, TIME_FORCE24HOURFORMAT, &curtime, input, buffer, 2); EXPECT_BUFFER; EXPECT_LEN(0); EXPECT_EQA; diff --git a/dlls/kernel32/tests/path.c b/dlls/kernel32/tests/path.c index dfb77481c9..e3851df7cd 100644 --- a/dlls/kernel32/tests/path.c +++ b/dlls/kernel32/tests/path.c @@ -68,7 +68,7 @@ typedef struct { } SLpassfail; /* function that tests GetFullPathNameA, GetShortPathNameA,GetLongPathNameA */ -/* NOTE: the passfail structure is used to allow cutomizeable todo checking +/* NOTE: the passfail structure is used to allow customizable todo checking for wine. It is not very pretty, but it sure beats duplicating this function lots of times */ @@ -78,7 +78,7 @@ static void test_ValidPathA(const CHAR *curdir, const CHAR *subdir, const CHAR * CHAR tmpstr[MAX_PATH], fullpath[MAX_PATH], /*full path to the file (not short/long) */ subpath[MAX_PATH], /*relative path to the file */ - fullpathshort[MAX_PATH], /*absolue path to the file (short format) */ + fullpathshort[MAX_PATH], /*absolute path to the file (short format) */ fullpathlong[MAX_PATH], /*absolute path to the file (long format) */ curdirshort[MAX_PATH], /*absolute path to the current dir (short) */ curdirlong[MAX_PATH]; /*absolute path to the current dir (long) */ @@ -826,7 +826,7 @@ static void test_GetTempPathA(char* tmp_dir) ok(len == strlen(buf), "returned length should be equal to the length of string\n"); /* Some versions of Windows touch the buffer, some don't so we don't - * test that. Also, NT sometimes exagerates the required buffer size + * test that. Also, NT sometimes exaggerates the required buffer size * so we cannot test for an exact match. Finally, the * 'len_with_null - 1' case is so buggy on Windows it's not testable. * For instance in some cases Win98 returns len_with_null - 1 instead @@ -1160,7 +1160,7 @@ static void test_NeedCurrentDirectoryForExePathW(void) /* Call various path/file name retrieving APIs and check the case of * the returned drive letter. Some apps (for instance Adobe Photoshop CS3 - * installer) depend on the driver letter being in upper case. + * installer) depend on the drive letter being in upper case. */ static void test_drive_letter_case(void) { diff --git a/dlls/kernel32/tests/thread.c b/dlls/kernel32/tests/thread.c index 6812f16e6d..7d83b255a4 100644 --- a/dlls/kernel32/tests/thread.c +++ b/dlls/kernel32/tests/thread.c @@ -309,7 +309,7 @@ cleanup: CloseHandle(hProcess); } -/* Check basic funcationality of CreateThread and Tls* functions */ +/* Check basic functionality of CreateThread and Tls* functions */ static VOID test_CreateThread_basic(void) { HANDLE thread[NUM_THREADS],event[NUM_THREADS]; @@ -331,7 +331,7 @@ static VOID test_CreateThread_basic(void) /* Create events for thread synchronization */ for(i=0;iStandardDate); if (ret == -2) return TIME_ZONE_ID_INVALID; @@ -223,7 +223,7 @@ static DWORD TIME_CompTimeZoneID ( const TIME_ZONE_INFORMATION *pTZinfo, /*********************************************************************** * TIME_TimeZoneID * - * Calculates whether daylight saving is on now. + * Calculates whether daylight savings is on now. * * PARAMS * pTzi [in] Timezone info. @@ -232,7 +232,7 @@ static DWORD TIME_CompTimeZoneID ( const TIME_ZONE_INFORMATION *pTZinfo, * TIME_ZONE_ID_INVALID An error occurred * TIME_ZONE_ID_UNKNOWN There are no transition time known * TIME_ZONE_ID_STANDARD Current time is standard time - * TIME_ZONE_ID_DAYLIGHT Current time is dayligh saving time + * TIME_ZONE_ID_DAYLIGHT Current time is daylight savings time */ static DWORD TIME_ZoneID( const TIME_ZONE_INFORMATION *pTzi ) { @@ -391,7 +391,7 @@ BOOL WINAPI SetSystemTimeAdjustment( DWORD dwTimeAdjustment, BOOL bTimeAdjustmen * TIME_ZONE_ID_INVALID An error occurred * TIME_ZONE_ID_UNKNOWN There are no transition time known * TIME_ZONE_ID_STANDARD Current time is standard time - * TIME_ZONE_ID_DAYLIGHT Current time is dayligh saving time + * TIME_ZONE_ID_DAYLIGHT Current time is dayligh savings time */ DWORD WINAPI GetTimeZoneInformation( LPTIME_ZONE_INFORMATION tzinfo ) { @@ -943,13 +943,13 @@ VOID WINAPI GetSystemTime(LPSYSTEMTIME systime) /********************************************************************* * GetDaylightFlag (KERNEL32.@) * - * Specifies if daylight saving time is in operation. + * Specifies if daylight savings time is in operation. * * NOTES * This function is called from the Win98's control applet timedate.cpl. * * RETURNS - * TRUE if daylight saving time is in operation. + * TRUE if daylight savings time is in operation. * FALSE otherwise. */ BOOL WINAPI GetDaylightFlag(void) -- 2.32.0.93.g670b81a890