Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d5de9977
Commit
d5de9977
authored
Mar 17, 2008
by
Austin English
Committed by
Alexandre Julliard
Mar 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Spelling fixes.
parent
92787539
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
31 additions
and
31 deletions
+31
-31
cpu.c
dlls/kernel32/cpu.c
+1
-1
debugger.c
dlls/kernel32/debugger.c
+1
-1
global16.c
dlls/kernel32/global16.c
+1
-1
kernel_main.c
dlls/kernel32/kernel_main.c
+3
-3
pthread.c
dlls/kernel32/pthread.c
+1
-1
registry16.c
dlls/kernel32/registry16.c
+1
-1
sync.c
dlls/kernel32/sync.c
+2
-2
alloc.c
dlls/kernel32/tests/alloc.c
+2
-2
comm.c
dlls/kernel32/tests/comm.c
+2
-2
format_msg.c
dlls/kernel32/tests/format_msg.c
+1
-1
locale.c
dlls/kernel32/tests/locale.c
+1
-1
path.c
dlls/kernel32/tests/path.c
+4
-4
thread.c
dlls/kernel32/tests/thread.c
+2
-2
thread.c
dlls/kernel32/thread.c
+1
-1
time.c
dlls/kernel32/time.c
+8
-8
No files found.
dlls/kernel32/cpu.c
View file @
d5de9977
...
...
@@ -319,7 +319,7 @@ BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER counter)
/****************************************************************************
* QueryPerformanceFrequency (KERNEL32.@)
*
* Get the resolution of the performace counter.
* Get the resolution of the performa
n
ce counter.
*
* PARAMS
* frequency [O] Destination for the counter resolution
...
...
dlls/kernel32/debugger.c
View file @
d5de9977
...
...
@@ -340,7 +340,7 @@ BOOL WINAPI DebugBreakProcess(HANDLE hProc)
/***********************************************************************
* DebugBreak (KERNEL.203)
*
* Raises an ex
pec
tion in a 16 bit application so that a debugger (if attached)
* Raises an ex
cep
tion in a 16 bit application so that a debugger (if attached)
* can take some action.
*
* PARAMS
...
...
dlls/kernel32/global16.c
View file @
d5de9977
...
...
@@ -1065,7 +1065,7 @@ BOOL16 WINAPI MemManInfo16( MEMMANINFO *info )
MEMORYSTATUS
status
;
/*
* Not unsurprisingly although the documention says you
* Not unsurprisingly although the document
at
ion says you
* _must_ provide the size in the dwSize field, this function
* (under Windows) always fills the structure and returns true.
*/
...
...
dlls/kernel32/kernel_main.c
View file @
d5de9977
...
...
@@ -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
)
{
...
...
dlls/kernel32/pthread.c
View file @
d5de9977
...
...
@@ -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.
* imp
l
ementation used in the ACE library.
*/
/* Possible problems with ACE:
...
...
dlls/kernel32/registry16.c
View file @
d5de9977
...
...
@@ -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 incident
al
ly) hopefully fixes
* Aldus FH4)
*/
DWORD
WINAPI
RegQueryValue16
(
HKEY
hkey
,
LPCSTR
name
,
LPSTR
data
,
LPDWORD
count
)
...
...
dlls/kernel32/sync.c
View file @
d5de9977
...
...
@@ -1054,7 +1054,7 @@ BOOL WINAPI DeleteTimerQueueEx(HANDLE TimerQueue, HANDLE CompletionEvent)
* expires, the callback function is called.
*
* RETURNS
* nonzero on success or zero on fail
l
ure
* 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 fail
l
ure
* nonzero on success or zero on failure
*
* BUGS
* Unimplemented
...
...
dlls/kernel32/tests/alloc.c
View file @
d5de9977
...
...
@@ -166,7 +166,7 @@ static void test_Heap(void)
GlobalMemoryStatusEx
*/
/* In addition, these features aren't being tested
GMEM_DISCADABLE
GMEM_DISCA
R
DABLE
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_DISCA
R
DABLE
LMEM_NOCOMPACT
*/
static
void
test_Local
(
void
)
...
...
dlls/kernel32/tests/comm.c
View file @
d5de9977
...
...
@@ -393,7 +393,7 @@ static TEST test[] =
#define TEST_COUNT (sizeof(test) / sizeof(TEST))
/* This function can be useful if you are modif
i
ying 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 with
e
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
*/
...
...
dlls/kernel32/tests/format_msg.c
View file @
d5de9977
...
...
@@ -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 excla
i
mation */
/* %! 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
);
...
...
dlls/kernel32/tests/locale.c
View file @
d5de9977
...
...
@@ -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"
);
/* Insuffic
i
ent buffer */
SetLastError
(
0xdeadbeef
);
ret
=
GetTimeFormatA
(
lcid
,
TIME_FORCE24HOURFORMAT
,
&
curtime
,
input
,
buffer
,
2
);
EXPECT_BUFFER
;
EXPECT_LEN
(
0
);
EXPECT_EQA
;
...
...
dlls/kernel32/tests/path.c
View file @
d5de9977
...
...
@@ -68,7 +68,7 @@ typedef struct {
}
SLpassfail
;
/* function that tests GetFullPathNameA, GetShortPathNameA,GetLongPathNameA */
/* NOTE: the passfail structure is used to allow cu
tomize
able todo checking
/* NOTE: the passfail structure is used to allow cu
stomiz
able 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
],
/*absolu
t
e 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 exag
g
erates 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 drive
r
letter being in upper case.
* installer) depend on the drive letter being in upper case.
*/
static
void
test_drive_letter_case
(
void
)
{
...
...
dlls/kernel32/tests/thread.c
View file @
d5de9977
...
...
@@ -309,7 +309,7 @@ cleanup:
CloseHandle
(
hProcess
);
}
/* Check basic func
a
tionality 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
;
i
<
NUM_THREADS
;
i
++
)
{
threadmem
[
i
]
=
0
;
/* Note that it doesn't matter what type of event we chose here. This
/* Note that it doesn't matter what type of event we cho
o
se here. This
test isn't trying to thoroughly test events
*/
event
[
i
]
=
CreateEventA
(
NULL
,
TRUE
,
FALSE
,
NULL
);
...
...
dlls/kernel32/thread.c
View file @
d5de9977
...
...
@@ -377,7 +377,7 @@ BOOL WINAPI GetThreadPriorityBoost(
/**********************************************************************
* SetThreadPriorityBoost [KERNEL32.@] Sets priority boost for thread.
*
* Priority boost is not implemented. Th
si
function always returns
* Priority boost is not implemented. Th
is
function always returns
* FALSE and sets last error to ERROR_CALL_NOT_IMPLEMENTED
*
* RETURNS
...
...
dlls/kernel32/time.c
View file @
d5de9977
...
...
@@ -79,7 +79,7 @@ static inline int IsLeapYear(int Year)
*
* PARAMS
* date [in] The local time to compare.
* compareDate [in] The daylight saving begin or end date.
* compareDate [in] The daylight saving
s
begin or end date.
*
* RETURNS
*
...
...
@@ -147,7 +147,7 @@ static int TIME_DayLightCompareDate( const SYSTEMTIME *date,
* 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
t savings
time
*/
static
DWORD
TIME_CompTimeZoneID
(
const
TIME_ZONE_INFORMATION
*
pTZinfo
,
FILETIME
*
lpFileTime
,
BOOL
islocal
)
...
...
@@ -185,7 +185,7 @@ static DWORD TIME_CompTimeZoneID ( const TIME_ZONE_INFORMATION *pTZinfo,
FileTimeToSystemTime
(
lpFileTime
,
&
SysTime
);
/* check for daylight saving */
/* check for daylight saving
s
*/
ret
=
TIME_DayLightCompareDate
(
&
SysTime
,
&
pTZinfo
->
StandardDate
);
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 saving
s
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 dayligh
t 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 saving
s
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 saving
s
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 saving
s
time is in operation.
* FALSE otherwise.
*/
BOOL
WINAPI
GetDaylightFlag
(
void
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment