Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
05faae7b
Commit
05faae7b
authored
Apr 08, 2008
by
Austin English
Committed by
Alexandre Julliard
Apr 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling fixes.
parent
f2dccab7
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
29 additions
and
29 deletions
+29
-29
cppexcept.h
dlls/msvcrt/cppexcept.h
+1
-1
main.c
dlls/msvcrt/main.c
+1
-1
string.c
dlls/msvcrt/tests/string.c
+2
-2
undname.c
dlls/msvcrt/undname.c
+2
-2
mswsock.c
dlls/mswsock/mswsock.c
+1
-1
node.c
dlls/msxml3/node.c
+1
-1
pi.c
dlls/msxml3/pi.c
+2
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+1
-1
ds.c
dlls/netapi32/ds.c
+1
-1
nbnamecache.h
dlls/netapi32/nbnamecache.h
+1
-1
nbt.c
dlls/netapi32/nbt.c
+1
-1
wksta.c
dlls/netapi32/wksta.c
+1
-1
directory.c
dlls/ntdll/directory.c
+1
-1
path.c
dlls/ntdll/path.c
+1
-1
reg.c
dlls/ntdll/reg.c
+2
-2
relay.c
dlls/ntdll/relay.c
+1
-1
serial.c
dlls/ntdll/serial.c
+1
-1
atom.c
dlls/ntdll/tests/atom.c
+1
-1
env.c
dlls/ntdll/tests/env.c
+1
-1
om.c
dlls/ntdll/tests/om.c
+1
-1
reg.c
dlls/ntdll/tests/reg.c
+1
-1
rtl.c
dlls/ntdll/tests/rtl.c
+2
-2
rtlstr.c
dlls/ntdll/tests/rtlstr.c
+1
-1
string.c
dlls/ntdll/tests/string.c
+1
-1
No files found.
dlls/msvcrt/cppexcept.h
View file @
05faae7b
...
...
@@ -26,7 +26,7 @@
typedef
void
(
*
vtable_ptr
)();
/* type_info object, see cpp.c for i
n
plementation */
/* type_info object, see cpp.c for i
m
plementation */
typedef
struct
__type_info
{
const
vtable_ptr
*
vtable
;
...
...
dlls/msvcrt/main.c
View file @
05faae7b
...
...
@@ -124,7 +124,7 @@ void CDECL MSVCRT_I10_OUTPUT(void)
{
/* FIXME: This is probably data, not a function */
/* no it is a function. I10 is an Int of 10 bytes */
/* also known as 80 bit flo
ta
ing point (long double */
/* also known as 80 bit flo
at
ing point (long double */
/* for some compilers, not MSVC) */
}
...
...
dlls/msvcrt/tests/string.c
View file @
05faae7b
...
...
@@ -576,11 +576,11 @@ static void test_wcscpy_s(void)
return
;
}
/* Test NUL
l
Dest */
/* Test NUL
L
Dest */
ret
=
p_wcscpy_s
(
NULL
,
18
,
szLongText
);
ok
(
ret
==
EINVAL
,
"p_wcscpy_s expect EINVAL got %d
\n
"
,
ret
);
/* Test NUL
l
Source */
/* Test NUL
L
Source */
szDest
[
0
]
=
'A'
;
ret
=
p_wcscpy_s
(
szDest
,
18
,
NULL
);
ok
(
ret
==
EINVAL
,
"expected EINVAL got %d
\n
"
,
ret
);
...
...
dlls/msvcrt/undname.c
View file @
05faae7b
...
...
@@ -516,7 +516,7 @@ static char* get_template_name(struct parsed_symbol* sym)
* template argument list). The class name components appear in the reverse
* order in the mangled name, e.g aaa@bbb@ccc@@ will be demangled to
* ccc::bbb::aaa
* For each of th
is class name compone
ts a string will be allocated in the
* For each of th
ese class name componen
ts a string will be allocated in the
* array.
*/
static
BOOL
get_class
(
struct
parsed_symbol
*
sym
)
...
...
@@ -678,7 +678,7 @@ static const char* get_simple_type(char c)
}
/*******************************************************************
* get_exten
t
ed_type
* get_exten
d
ed_type
* Return a string containing an allocated string for a simple data type
*/
static
const
char
*
get_extended_type
(
char
c
)
...
...
dlls/mswsock/mswsock.c
View file @
05faae7b
...
...
@@ -104,7 +104,7 @@ VOID WINAPI GetAcceptExSockaddrs(
BOOL
WINAPI
TransmitFile
(
SOCKET
hSocket
,
/* [in] Handle to a connected socket */
HANDLE
hFile
,
/* [in] Handle to the open file that should be
transmited */
transmit
t
ed */
DWORD
nNumberOfBytesToWrite
,
/* [in] Number of file bytes to
transmit */
DWORD
nNumberOfBytesPerSend
,
/* [in] Size in bytes of each block of
...
...
dlls/msxml3/node.c
View file @
05faae7b
...
...
@@ -1007,7 +1007,7 @@ static HRESULT WINAPI xmlnode_get_xml(
{
const
xmlChar
*
pContent
;
/* Attribute Nodes return a space infront of their name */
/* Attribute Nodes return a space in
front of their name */
pContent
=
xmlBufferContent
(
pXmlBuf
);
if
(
((
char
*
)
pContent
)[
0
]
==
' '
)
*
xmlString
=
bstr_from_xmlChar
(
pContent
+
1
);
...
...
dlls/msxml3/pi.c
View file @
05faae7b
...
...
@@ -206,7 +206,7 @@ static HRESULT WINAPI dom_pi_put_nodeValue(
TRACE
(
"%p
\n
"
,
This
);
/* Cannot set data to a PI node whos target is 'xml' */
/* Cannot set data to a PI node whos
e
target is 'xml' */
hr
=
dom_pi_get_nodeName
(
iface
,
&
sTarget
);
if
(
hr
==
S_OK
)
{
...
...
@@ -530,7 +530,7 @@ static HRESULT WINAPI dom_pi_put_data(
TRACE
(
"%p %s
\n
"
,
This
,
debugstr_w
(
data
)
);
/* Cannot set data to a PI node whos target is 'xml' */
/* Cannot set data to a PI node whos
e
target is 'xml' */
hr
=
dom_pi_get_nodeName
(
iface
,
&
sTarget
);
if
(
hr
==
S_OK
)
{
...
...
dlls/msxml3/tests/domdoc.c
View file @
05faae7b
...
...
@@ -1783,7 +1783,7 @@ static void test_IXMLDOMDocument2(void)
ole_check
(
IXMLDOMDocument2_setProperty
(
doc2
,
_bstr_
(
"SelectionLanguage"
),
_variantbstr_
(
"XPath"
)));
ole_check
(
IXMLDOMDocument2_setProperty
(
doc2
,
_bstr_
(
"SelectionLanguage"
),
_variantbstr_
(
"XSLPattern"
)));
/* contrary to what MSDN c
al
ims you can switch back from XPath to XSLPattern */
/* contrary to what MSDN c
la
ims you can switch back from XPath to XSLPattern */
ole_check
(
IXMLDOMDocument2_getProperty
(
doc2
,
_bstr_
(
"SelectionLanguage"
),
&
var
));
expect_eq
(
V_VT
(
&
var
),
VT_BSTR
,
int
,
"%x"
);
expect_bstr_eq_and_free
(
V_BSTR
(
&
var
),
"XSLPattern"
);
...
...
dlls/netapi32/ds.c
View file @
05faae7b
...
...
@@ -77,7 +77,7 @@ VOID WINAPI DsRoleFreeMemory(PVOID Buffer)
* DsRoleGetPrimaryDomainInformation (NETAPI32.@)
*
* PARAMS
* lpServer [I] Pointer to UNICODE string with Computer
n
ame
* lpServer [I] Pointer to UNICODE string with Computer
N
ame
* InfoLevel [I] Type of data to retrieve
* Buffer [O] Pointer to to the requested data
*
...
...
dlls/netapi32/nbnamecache.h
View file @
05faae7b
...
...
@@ -45,7 +45,7 @@ typedef struct _NBNameCacheEntry
/* Functions that create, manipulate, and destroy a name cache. Thread-safe,
* with the exception of NBNameCacheDestroy--ensure that no other threads are
* manipulating the cache before destoying it.
* manipulating the cache before dest
r
oying it.
*/
/* Allocates a new name cache from heap, and sets the expire time on new
...
...
dlls/netapi32/nbt.c
View file @
05faae7b
...
...
@@ -46,7 +46,7 @@
* name. Although it allows sessions to be created with '*' as the calling
* name, doing so results in timeouts for all receives, because the
* application never gets them.
* So, a well-behaved Net
bios
application will typically want to register a
* So, a well-behaved Net
BIOS
application will typically want to register a
* name. I should probably support a do-nothing name list that allows
* NCBADDNAME to add to it, but doesn't actually register the name, or does
* attempt to register it without being able to defend it.
...
...
dlls/netapi32/wksta.c
View file @
05faae7b
...
...
@@ -103,7 +103,7 @@ static void wprint_mac(WCHAR* buffer, int len, const MIB_IFROW *ifRow)
/* Theoretically this could be too short, except that MS defines
* MAX_ADAPTER_NAME as 128, and MAX_INTERFACE_NAME_LEN as 256, and both
* represent a count of WCHARs, so even with an extr
oa
rdinarily long header
* represent a count of WCHARs, so even with an extr
ao
rdinarily long header
* this will be plenty
*/
#define MAX_TRANSPORT_NAME MAX_INTERFACE_NAME_LEN
...
...
dlls/ntdll/directory.c
View file @
05faae7b
...
...
@@ -1866,7 +1866,7 @@ static inline int get_dos_prefix_len( const UNICODE_STRING *name )
*
* Convert a file name from NT namespace to Unix namespace.
*
* If disposition is not FILE_OPEN or FILE_OVERWRIT
T
E, the last path
* If disposition is not FILE_OPEN or FILE_OVERWRITE, the last path
* element doesn't have to exist; in that case STATUS_NO_SUCH_FILE is
* returned, but the unix name is still filled in properly.
*/
...
...
dlls/ntdll/path.c
View file @
05faae7b
...
...
@@ -428,7 +428,7 @@ BOOLEAN WINAPI RtlDosPathNameToNtPathName_U(PCWSTR dos_path,
/******************************************************************
* RtlDosSearchPath_U
*
* Searchs a file of name 'name' into a ';' separated list of paths
* Search
e
s a file of name 'name' into a ';' separated list of paths
* (stored in paths)
* Doesn't seem to search elsewhere than the paths list
* Stores the result in buffer (file_part will point to the position
...
...
dlls/ntdll/reg.c
View file @
05faae7b
...
...
@@ -1126,8 +1126,8 @@ static NTSTATUS RTL_GetKeyHandle(ULONG RelativeTo, PCWSTR Path, PHANDLE handle)
* RelativeTo [I] Registry path that Path refers to
* Path [I] Path to key
* QueryTable [I] Table of key values to query
* Context [I] Par
e
meter to pass to the application defined QueryRoutine function
* Environment [I] Optional parameter to use when performing expan
t
ion
* Context [I] Par
a
meter to pass to the application defined QueryRoutine function
* Environment [I] Optional parameter to use when performing expan
s
ion
*
* RETURNS
* STATUS_SUCCESS or an appropriate NTSTATUS error code.
...
...
dlls/ntdll/relay.c
View file @
05faae7b
...
...
@@ -699,7 +699,7 @@ FARPROC SNOOP_GetProcAddress( HMODULE hmod, const IMAGE_EXPORT_DIRECTORY *export
if
(
!
check_from_module
(
debug_from_snoop_includelist
,
debug_from_snoop_excludelist
,
user
))
return
origfun
;
/* the calling module was explicitly excluded */
if
(
!*
(
LPBYTE
)
origfun
)
/* 0x00 is an imposs
. opcode, poss.
dataref. */
if
(
!*
(
LPBYTE
)
origfun
)
/* 0x00 is an imposs
ible opcode, possible
dataref. */
return
origfun
;
sec
=
RtlImageRvaToSection
(
RtlImageNtHeader
(
hmod
),
hmod
,
(
char
*
)
origfun
-
(
char
*
)
hmod
);
...
...
dlls/ntdll/serial.c
View file @
05faae7b
...
...
@@ -1079,7 +1079,7 @@ static NTSTATUS wait_on(HANDLE hDevice, int fd, HANDLE hEvent, DWORD* events)
(
status
=
get_modem_status
(
fd
,
&
commio
->
mstat
)))
goto
out_now
;
/* We might have received something or the TX buff
f
er is delivered */
/* We might have received something or the TX buffer is delivered */
*
events
=
check_events
(
fd
,
commio
->
evtmask
,
&
commio
->
irq_info
,
&
commio
->
irq_info
,
commio
->
mstat
,
commio
->
mstat
);
...
...
dlls/ntdll/tests/atom.c
View file @
05faae7b
...
...
@@ -303,7 +303,7 @@ static void test_NtIntAtom(void)
if
(
!
res
)
{
/* According to the kernel32 functions, integer atoms are only allowd from
/* According to the kernel32 functions, integer atoms are only allow
e
d from
* 0x0001 to 0xbfff and not 0xc000 to 0xffff, which is correct */
res
=
pRtlAddAtomToAtomTable
(
AtomTable
,
(
PWSTR
)
0
,
&
testAtom
);
ok
(
res
==
STATUS_INVALID_PARAMETER
,
"Didn't get expected result from adding 0 int atom, retval: %x
\n
"
,
res
);
...
...
dlls/ntdll/tests/env.c
View file @
05faae7b
...
...
@@ -214,7 +214,7 @@ static void testExpand(void)
* Interestingly enough, with a 8 WCHAR buffers, we get on 2k:
* helloIII
* so it seems like strings overflowing the buffer are written
* (tr
o
ncated) but the write cursor is not advanced :-/
* (tr
u
ncated) but the write cursor is not advanced :-/
*/
{
NULL
,
NULL
}
};
...
...
dlls/ntdll/tests/om.c
View file @
05faae7b
...
...
@@ -418,7 +418,7 @@ static void test_directory(void)
pRtlFreeUnicodeString
(
&
str
);
InitializeObjectAttributes
(
&
attr
,
&
str
,
0
,
dir
,
NULL
);
/* Test in
a
valid paths */
/* Test invalid paths */
pRtlCreateUnicodeStringFromAsciiz
(
&
str
,
"
\\
om.c-mutant"
);
status
=
pNtCreateMutant
(
&
h
,
GENERIC_ALL
,
&
attr
,
FALSE
);
ok
(
status
==
STATUS_OBJECT_PATH_SYNTAX_BAD
,
...
...
dlls/ntdll/tests/reg.c
View file @
05faae7b
...
...
@@ -283,7 +283,7 @@ static void test_RtlQueryRegistryValues(void)
8)DefaultLength Test Default Length with DefaultType = REG_SZ
9)DefaultLength Test Default Length with DefaultType = REG_MULTI_SZ
10)DefaultLength Test Default Length with DefaultType = REG_EXPAND_SZ
11)DefaultData Test whether DefaultData is used while DefaltType = REG_NONE(shouldn't be)
11)DefaultData Test whether DefaultData is used while Defa
u
ltType = REG_NONE(shouldn't be)
12)Delete Try to delete value key
*/
...
...
dlls/ntdll/tests/rtl.c
View file @
05faae7b
...
...
@@ -647,7 +647,7 @@ static void test_RtlRandom(void)
seed
,
seed_expected
);
/*
* Seed is not equal to result as with RtlUniform. To see more we
* call RtlRandom ag
g
ain with seed set to 0:
* call RtlRandom again with seed set to 0:
*/
seed
=
0
;
result_expected
=
0x7fffffc3
;
...
...
@@ -701,7 +701,7 @@ static void test_RtlRandom(void)
* RtlRandom(&seed);
*
* assigns to seed. Putting these two findings together leads to
* the concluson that RtlRandom saves the value in some variable,
* the conclus
i
on that RtlRandom saves the value in some variable,
* like in the following algorithm:
*
* result = saved_value;
...
...
dlls/ntdll/tests/rtlstr.c
View file @
05faae7b
...
...
@@ -1282,7 +1282,7 @@ static const str2int_t str2int[] = {
{
0
,
"0o7"
,
7
,
STATUS_SUCCESS
},
/* one digit octal */
{
0
,
"0o8"
,
0
,
STATUS_SUCCESS
},
/* empty octal */
{
0
,
"0o"
,
0
,
STATUS_SUCCESS
},
/* empty octal */
{
0
,
"0d1011101100"
,
0
,
STATUS_SUCCESS
},
/* expli
z
it decimal with 0d */
{
0
,
"0d1011101100"
,
0
,
STATUS_SUCCESS
},
/* expli
c
it decimal with 0d */
{
0
,
"x89abcdef"
,
0
,
STATUS_SUCCESS
},
/* Hex with lower case digits a-f (x-notation) */
{
0
,
"xFEDCBA00"
,
0
,
STATUS_SUCCESS
},
/* Hex with upper case digits A-F (x-notation) */
{
0
,
"-xFEDCBA00"
,
0
,
STATUS_SUCCESS
},
/* Negative Hexadecimal (x-notation) */
...
...
dlls/ntdll/tests/string.c
View file @
05faae7b
...
...
@@ -859,7 +859,7 @@ static const str2long_t str2long[] = {
{
"0o7"
,
0
},
/* one digit octal */
{
"0o8"
,
0
},
/* empty octal */
{
"0o"
,
0
},
/* empty octal */
{
"0d1011101100"
,
0
},
/* expli
z
it decimal with 0d */
{
"0d1011101100"
,
0
},
/* expli
c
it decimal with 0d */
{
"x89abcdef"
,
0
},
/* Hex with lower case digits a-f (x-notation) */
{
"xFEDCBA00"
,
0
},
/* Hex with upper case digits A-F (x-notation) */
{
"-xFEDCBA00"
,
0
},
/* Negative Hexadecimal (x-notation) */
...
...
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