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
f803e2a9
Commit
f803e2a9
authored
May 13, 2003
by
Francois Gouget
Committed by
Alexandre Julliard
May 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix miscellaneous spelling errors and typos.
parent
d93f0814
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
69 additions
and
69 deletions
+69
-69
acmstream.c
dlls/avifil32/acmstream.c
+1
-1
api.c
dlls/avifil32/api.c
+1
-1
avifile.c
dlls/avifil32/avifile.c
+3
-3
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+1
-1
name_server.c
dlls/dplayx/name_server.c
+4
-4
path.c
dlls/kernel/tests/path.c
+7
-7
except.c
dlls/msvcrt/except.c
+1
-1
rtlbitmap.c
dlls/ntdll/rtlbitmap.c
+1
-1
compobj.c
dlls/ole32/compobj.c
+7
-7
compobj_private.h
dlls/ole32/compobj_private.h
+1
-1
ftmarshal.c
dlls/ole32/ftmarshal.c
+6
-6
marshal.c
dlls/ole32/marshal.c
+4
-4
oleproxy.c
dlls/ole32/oleproxy.c
+3
-3
storage32.c
dlls/ole32/storage32.c
+1
-1
tmarshal.c
dlls/oleaut32/tmarshal.c
+2
-2
typelib.c
dlls/oleaut32/typelib.c
+1
-1
usrmarshal.c
dlls/oleaut32/usrmarshal.c
+2
-2
rpcrt4_main.c
dlls/rpcrt4/rpcrt4_main.c
+1
-1
rpcss_np_client.c
dlls/rpcrt4/rpcss_np_client.c
+1
-1
setupapi.rc
dlls/setupapi/setupapi.rc
+1
-1
shres.rc
dlls/shell32/shres.rc
+1
-1
path.c
dlls/shlwapi/path.c
+5
-5
documentation.sgml
documentation/documentation.sgml
+2
-2
porting.sgml
documentation/porting.sgml
+3
-3
winelib-porting.sgml
documentation/winelib-porting.sgml
+1
-1
painting.c
graphics/painting.c
+3
-3
ppdev.c
msdos/ppdev.c
+2
-2
rpcss_main.c
programs/rpcss/rpcss_main.c
+2
-2
c2man.pl
tools/c2man.pl
+1
-1
No files found.
dlls/avifil32/acmstream.c
View file @
f803e2a9
...
@@ -629,7 +629,7 @@ static HRESULT WINAPI ACMStream_fnDelete(IAVIStream *iface, LONG start,
...
@@ -629,7 +629,7 @@ static HRESULT WINAPI ACMStream_fnDelete(IAVIStream *iface, LONG start,
if
((
This
->
sInfo
.
dwCaps
&
AVIFILECAPS_CANWRITE
)
==
0
)
if
((
This
->
sInfo
.
dwCaps
&
AVIFILECAPS_CANWRITE
)
==
0
)
return
AVIERR_READONLY
;
return
AVIERR_READONLY
;
/* A compressor is also nec
c
essary */
/* A compressor is also necessary */
if
(
This
->
has
==
NULL
)
if
(
This
->
has
==
NULL
)
return
AVIERR_NOCOMPRESSOR
;
return
AVIERR_NOCOMPRESSOR
;
...
...
dlls/avifil32/api.c
View file @
f803e2a9
...
@@ -1047,7 +1047,7 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
...
@@ -1047,7 +1047,7 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
if
(
cbFilter
>
size
)
{
if
(
cbFilter
>
size
)
{
int
i
;
int
i
;
/* replace '@' with \000 to sep
e
rate description of filter */
/* replace '@' with \000 to sep
a
rate description of filter */
for
(
i
=
0
;
i
<
size
&&
szAllFiles
[
i
]
!=
0
;
i
++
)
{
for
(
i
=
0
;
i
<
size
&&
szAllFiles
[
i
]
!=
0
;
i
++
)
{
if
(
szAllFiles
[
i
]
==
'@'
)
{
if
(
szAllFiles
[
i
]
==
'@'
)
{
szAllFiles
[
i
]
=
0
;
szAllFiles
[
i
]
=
0
;
...
...
dlls/avifil32/avifile.c
View file @
f803e2a9
...
@@ -1372,7 +1372,7 @@ static HRESULT AVIFILE_AddFrame(IAVIStreamImpl *This, DWORD ckid, DWORD size, DW
...
@@ -1372,7 +1372,7 @@ static HRESULT AVIFILE_AddFrame(IAVIStreamImpl *This, DWORD ckid, DWORD size, DW
This
->
idxFrames
[
This
->
lLastFrame
].
dwChunkOffset
=
offset
;
This
->
idxFrames
[
This
->
lLastFrame
].
dwChunkOffset
=
offset
;
This
->
idxFrames
[
This
->
lLastFrame
].
dwChunkLength
=
size
;
This
->
idxFrames
[
This
->
lLastFrame
].
dwChunkLength
=
size
;
/* update AVISTREAMINFO structure if nec
c
essary */
/* update AVISTREAMINFO structure if necessary */
if
(
This
->
sInfo
.
dwLength
<
This
->
lLastFrame
)
if
(
This
->
sInfo
.
dwLength
<
This
->
lLastFrame
)
This
->
sInfo
.
dwLength
=
This
->
lLastFrame
;
This
->
sInfo
.
dwLength
=
This
->
lLastFrame
;
...
@@ -2046,7 +2046,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
...
@@ -2046,7 +2046,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
if
(
mmioAscend
(
This
->
hmmio
,
&
ck
,
0
)
!=
S_OK
)
if
(
mmioAscend
(
This
->
hmmio
,
&
ck
,
0
)
!=
S_OK
)
return
AVIERR_FILEWRITE
;
return
AVIERR_FILEWRITE
;
/* write the headers of each stream into a sep
e
rate streamheader list */
/* write the headers of each stream into a sep
a
rate streamheader list */
for
(
nStream
=
0
;
nStream
<
This
->
fInfo
.
dwStreams
;
nStream
++
)
{
for
(
nStream
=
0
;
nStream
<
This
->
fInfo
.
dwStreams
;
nStream
++
)
{
AVIStreamHeader
strHdr
;
AVIStreamHeader
strHdr
;
...
@@ -2087,7 +2087,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
...
@@ -2087,7 +2087,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
if
(
mmioAscend
(
This
->
hmmio
,
&
ck
,
0
)
!=
S_OK
)
if
(
mmioAscend
(
This
->
hmmio
,
&
ck
,
0
)
!=
S_OK
)
return
AVIERR_FILEWRITE
;
return
AVIERR_FILEWRITE
;
/* ... the hopefull ever present streamformat ... */
/* ... the hopefull
y
ever present streamformat ... */
ck
.
ckid
=
ckidSTREAMFORMAT
;
ck
.
ckid
=
ckidSTREAMFORMAT
;
ck
.
cksize
=
pStream
->
cbFormat
;
ck
.
cksize
=
pStream
->
cbFormat
;
if
(
mmioCreateChunk
(
This
->
hmmio
,
&
ck
,
0
)
!=
S_OK
)
if
(
mmioCreateChunk
(
This
->
hmmio
,
&
ck
,
0
)
!=
S_OK
)
...
...
dlls/ddraw/d3ddevice/mesa.c
View file @
f803e2a9
...
@@ -647,7 +647,7 @@ GL_IDirect3DDeviceImpl_3_2T_SetLightState(LPDIRECT3DDEVICE3 iface,
...
@@ -647,7 +647,7 @@ GL_IDirect3DDeviceImpl_3_2T_SetLightState(LPDIRECT3DDEVICE3 iface,
}
else
if
(
dwLightStateType
==
D3DLIGHTSTATE_COLORMODEL
/* 3 */
)
{
}
else
if
(
dwLightStateType
==
D3DLIGHTSTATE_COLORMODEL
/* 3 */
)
{
switch
(
dwLightState
)
{
switch
(
dwLightState
)
{
case
D3DCOLOR_MONO
:
case
D3DCOLOR_MONO
:
ERR
(
"DDCOLOR_MONO should not happen
d
!
\n
"
);
ERR
(
"DDCOLOR_MONO should not happen!
\n
"
);
break
;
break
;
case
D3DCOLOR_RGB
:
case
D3DCOLOR_RGB
:
/* We are already in this mode */
/* We are already in this mode */
...
...
dlls/dplayx/name_server.c
View file @
f803e2a9
...
@@ -158,7 +158,7 @@ void NS_AddRemoteComputerAsNameServer( LPCVOID lpcNSAddrHdr,
...
@@ -158,7 +158,7 @@ void NS_AddRemoteComputerAsNameServer( LPCVOID lpcNSAddrHdr,
lpCache
->
present
=
lpCacheNode
;
lpCache
->
present
=
lpCacheNode
;
/* Use this message as an oportunity to weed out any old sessions so
/* Use this message as an op
p
ortunity to weed out any old sessions so
* that we don't enum them again
* that we don't enum them again
*/
*/
NS_PruneSessionCache
(
lpNSInfo
);
NS_PruneSessionCache
(
lpNSInfo
);
...
@@ -236,7 +236,7 @@ HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
...
@@ -236,7 +236,7 @@ HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
lpMsg
=
(
LPDPMSG_ENUMSESSIONSREQUEST
)(((
BYTE
*
)
data
.
lpMessage
)
+
lpSpData
->
dwSPHeaderSize
);
lpMsg
=
(
LPDPMSG_ENUMSESSIONSREQUEST
)(((
BYTE
*
)
data
.
lpMessage
)
+
lpSpData
->
dwSPHeaderSize
);
/* Setup EnumSession reqest message */
/* Setup EnumSession req
u
est message */
lpMsg
->
envelope
.
dwMagic
=
DPMSGMAGIC_DPLAYMSG
;
lpMsg
->
envelope
.
dwMagic
=
DPMSGMAGIC_DPLAYMSG
;
lpMsg
->
envelope
.
wCommandId
=
DPMSGCMD_ENUMSESSIONSREQUEST
;
lpMsg
->
envelope
.
wCommandId
=
DPMSGCMD_ENUMSESSIONSREQUEST
;
lpMsg
->
envelope
.
wVersion
=
DPMSGVER_DP6
;
lpMsg
->
envelope
.
wVersion
=
DPMSGVER_DP6
;
...
@@ -267,7 +267,7 @@ void NS_InvalidateSessionCache( LPVOID lpNSInfo )
...
@@ -267,7 +267,7 @@ void NS_InvalidateSessionCache( LPVOID lpNSInfo )
if
(
lpCache
==
NULL
)
if
(
lpCache
==
NULL
)
{
{
ERR
(
": invalidate non exist
a
nt cache
\n
"
);
ERR
(
": invalidate non exist
e
nt cache
\n
"
);
return
;
return
;
}
}
...
@@ -362,7 +362,7 @@ void NS_PruneSessionCache( LPVOID lpNSInfo )
...
@@ -362,7 +362,7 @@ void NS_PruneSessionCache( LPVOID lpNSInfo )
break
;
break
;
}
}
/* Deal with time in a wrap around safe manner - unsigned arithm
a
tic.
/* Deal with time in a wrap around safe manner - unsigned arithm
e
tic.
* Check the difference in time */
* Check the difference in time */
if
(
(
dwPresentTime
-
(
DPQ_FIRST
(
lpCache
->
first
)
->
dwTime
))
<
dwPrunePeriod
)
if
(
(
dwPresentTime
-
(
DPQ_FIRST
(
lpCache
->
first
)
->
dwTime
))
<
dwPrunePeriod
)
{
{
...
...
dlls/kernel/tests/path.c
View file @
f803e2a9
...
@@ -32,9 +32,9 @@
...
@@ -32,9 +32,9 @@
#define SHORTDIR "shortdir"
#define SHORTDIR "shortdir"
#define LONGDIR "Long Directory"
#define LONGDIR "Long Directory"
#define NONFILE_SHORT "noexist.pth"
#define NONFILE_SHORT "noexist.pth"
#define NONFILE_LONG "Non Exist
a
nt File"
#define NONFILE_LONG "Non Exist
e
nt File"
#define NONDIR_SHORT "notadir"
#define NONDIR_SHORT "notadir"
#define NONDIR_LONG "Non Exist
a
nt Directory"
#define NONDIR_LONG "Non Exist
e
nt Directory"
#define NOT_A_VALID_DRIVE '@'
#define NOT_A_VALID_DRIVE '@'
...
@@ -198,7 +198,7 @@ static void test_SplitShortPathA(CHAR *path,CHAR *dir,CHAR *eight,CHAR *three) {
...
@@ -198,7 +198,7 @@ static void test_SplitShortPathA(CHAR *path,CHAR *dir,CHAR *eight,CHAR *three) {
}
}
/* Check that we didn't find a trailing '\\' or multiple '.' */
/* Check that we didn't find a trailing '\\' or multiple '.' */
ok
(
!
error
,
"Illegal file found in 8.3 path '%s'"
,
path
);
ok
(
!
error
,
"Illegal file found in 8.3 path '%s'"
,
path
);
/* Sep
e
rate dir, root, and extension */
/* Sep
a
rate dir, root, and extension */
if
(
ext
!=
len
)
lstrcpyA
(
three
,
path
+
ext
+
1
);
else
lstrcpyA
(
three
,
""
);
if
(
ext
!=
len
)
lstrcpyA
(
three
,
path
+
ext
+
1
);
else
lstrcpyA
(
three
,
""
);
if
(
fil
!=
len
)
{
if
(
fil
!=
len
)
{
lstrcpynA
(
eight
,
path
+
fil
+
1
,
ext
-
fil
);
lstrcpynA
(
eight
,
path
+
fil
+
1
,
ext
-
fil
);
...
@@ -228,7 +228,7 @@ static void test_LongtoShortA(CHAR *teststr,CHAR *goodstr,
...
@@ -228,7 +228,7 @@ static void test_LongtoShortA(CHAR *teststr,CHAR *goodstr,
characters in the filename.
characters in the filename.
'valid' indicates whether this would be an allowed filename
'valid' indicates whether this would be an allowed filename
'todo' indictaes that wine doesn't get this right yet.
'todo' indictaes that wine doesn't get this right yet.
NOTE: We always call this routine with a non-exist
a
nt filename, so
NOTE: We always call this routine with a non-exist
e
nt filename, so
Get(Short|Long)PathNameA should never pass, but GetFullPathNameA
Get(Short|Long)PathNameA should never pass, but GetFullPathNameA
should.
should.
*/
*/
...
@@ -438,10 +438,10 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir)
...
@@ -438,10 +438,10 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir)
so why check it again.
so why check it again.
*/
*/
SetCurrentDirectoryA
(
newdir
);
SetCurrentDirectoryA
(
newdir
);
/* Check that SetCurrentDirectory fails when a non-exist
a
nt dir is specified */
/* Check that SetCurrentDirectory fails when a non-exist
e
nt dir is specified */
sprintf
(
tmpstr
,
"%s
\\
%s
\\
%s"
,
newdir
,
SHORTDIR
,
NONDIR_SHORT
);
sprintf
(
tmpstr
,
"%s
\\
%s
\\
%s"
,
newdir
,
SHORTDIR
,
NONDIR_SHORT
);
test_setdir
(
newdir
,
tmpstr
,
NULL
,
0
,
"check 3"
);
test_setdir
(
newdir
,
tmpstr
,
NULL
,
0
,
"check 3"
);
/* Check that SetCurrentDirectory fails for a non-exist
a
nt lond directory */
/* Check that SetCurrentDirectory fails for a non-exist
e
nt lond directory */
sprintf
(
tmpstr
,
"%s
\\
%s
\\
%s"
,
newdir
,
SHORTDIR
,
NONDIR_LONG
);
sprintf
(
tmpstr
,
"%s
\\
%s
\\
%s"
,
newdir
,
SHORTDIR
,
NONDIR_LONG
);
test_setdir
(
newdir
,
tmpstr
,
NULL
,
0
,
"check 4"
);
test_setdir
(
newdir
,
tmpstr
,
NULL
,
0
,
"check 4"
);
/* Check that SetCurrentDirectory passes with a long directory */
/* Check that SetCurrentDirectory passes with a long directory */
...
@@ -653,7 +653,7 @@ static void test_PathNameA(CHAR *curdir, CHAR curDrive, CHAR otherDrive)
...
@@ -653,7 +653,7 @@ static void test_PathNameA(CHAR *curdir, CHAR curDrive, CHAR otherDrive)
test_ValidPathA
(
curdir
,
""
,
tmpstr
,
tmpstr1
,
NULL
,
"test13"
);
test_ValidPathA
(
curdir
,
""
,
tmpstr
,
tmpstr1
,
NULL
,
"test13"
);
sprintf
(
tmpstr
,
"%s
\\
"
,
LONGDIR
);
sprintf
(
tmpstr
,
"%s
\\
"
,
LONGDIR
);
test_ValidPathA
(
curdir
,
""
,
tmpstr
,
tmpstr1
,
NULL
,
"test14"
);
test_ValidPathA
(
curdir
,
""
,
tmpstr
,
tmpstr1
,
NULL
,
"test14"
);
/* Non-exist
a
nt directories */
/* Non-exist
e
nt directories */
sprintf
(
tmpstr
,
"%s
\\
"
,
NONDIR_SHORT
);
sprintf
(
tmpstr
,
"%s
\\
"
,
NONDIR_SHORT
);
test_ValidPathA
(
curdir
,
""
,
tmpstr
,
tmpstr1
,
&
passfail
,
"test15"
);
test_ValidPathA
(
curdir
,
""
,
tmpstr
,
tmpstr1
,
&
passfail
,
"test15"
);
sprintf
(
tmpstr2
,
"%s
\\
%s"
,
curdir
,
tmpstr
);
sprintf
(
tmpstr2
,
"%s
\\
%s"
,
curdir
,
tmpstr
);
...
...
dlls/msvcrt/except.c
View file @
f803e2a9
...
@@ -107,7 +107,7 @@ int _XcptFilter(int ex, PEXCEPTION_POINTERS ptr)
...
@@ -107,7 +107,7 @@ int _XcptFilter(int ex, PEXCEPTION_POINTERS ptr)
* _EH_prolog (MSVCRT.@)
* _EH_prolog (MSVCRT.@)
*/
*/
#ifdef __i386__
#ifdef __i386__
/* Provided for VC++ binary compat
a
bility only */
/* Provided for VC++ binary compat
i
bility only */
__ASM_GLOBAL_FUNC
(
_EH_prolog
,
__ASM_GLOBAL_FUNC
(
_EH_prolog
,
"pushl $-1
\n\t
"
"pushl $-1
\n\t
"
"pushl %eax
\n\t
"
"pushl %eax
\n\t
"
...
...
dlls/ntdll/rtlbitmap.c
View file @
f803e2a9
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
* but are also available to applications that need this functionality.
* but are also available to applications that need this functionality.
*
*
* Bits are set LSB to MSB in each consecutive byte, making this implementation
* Bits are set LSB to MSB in each consecutive byte, making this implementation
* binary compat
a
ble with Win32.
* binary compat
i
ble with Win32.
*
*
* Note that to avoid unexpected behaviour, the size of a bitmap should be set
* Note that to avoid unexpected behaviour, the size of a bitmap should be set
* to a multiple of 32.
* to a multiple of 32.
...
...
dlls/ole32/compobj.c
View file @
f803e2a9
...
@@ -63,7 +63,7 @@ const CLSID CLSID_StdGlobalInterfaceTable = { 0x00000323, 0, 0, {0xc0, 0, 0, 0,
...
@@ -63,7 +63,7 @@ const CLSID CLSID_StdGlobalInterfaceTable = { 0x00000323, 0, 0, {0xc0, 0, 0, 0,
static
void
*
StdGlobalInterfaceTableInstance
;
static
void
*
StdGlobalInterfaceTableInstance
;
/*****************************************************************************
/*****************************************************************************
* Ap
p
artment management stuff
* Apartment management stuff
*
*
* NOTE:
* NOTE:
* per Thread values are stored in the TEB on offset 0xF80
* per Thread values are stored in the TEB on offset 0xF80
...
@@ -75,22 +75,22 @@ static void* StdGlobalInterfaceTableInstance;
...
@@ -75,22 +75,22 @@ static void* StdGlobalInterfaceTableInstance;
typedef
struct
{
typedef
struct
{
unsigned
char
threadingModell
;
/* we use the COINIT flags */
unsigned
char
threadingModell
;
/* we use the COINIT flags */
unsigned
long
threadID
;
unsigned
long
threadID
;
long
Ap
p
artmentLockCount
;
long
ApartmentLockCount
;
}
OleAp
p
artmentData
;
}
OleApartmentData
;
typedef
struct
{
typedef
struct
{
OleAp
partmentData
*
Ap
partmentData
;
OleAp
artmentData
*
A
partmentData
;
}
OleThreadData
;
}
OleThreadData
;
/* not jet used
/* not jet used
static CRITICAL_SECTION csAp
partmentData = CRITICAL_SECTION_INIT("csAp
partmentData");
static CRITICAL_SECTION csAp
artmentData = CRITICAL_SECTION_INIT("csA
partmentData");
*/
*/
/*
/*
* the first STA created in a process is the main STA
* the first STA created in a process is the main STA
*/
*/
/* not jet used
/* not jet used
static OleAp
p
artmentData * mainSTA;
static OleApartmentData * mainSTA;
*/
*/
/*
/*
...
@@ -98,7 +98,7 @@ static OleAppartmentData * mainSTA;
...
@@ -98,7 +98,7 @@ static OleAppartmentData * mainSTA;
*/
*/
/* not jet used
/* not jet used
static OleAp
p
artmentData * processMTA;
static OleApartmentData * processMTA;
*/
*/
...
...
dlls/ole32/compobj_private.h
View file @
f803e2a9
...
@@ -45,7 +45,7 @@ get_facbuf_for_iid(REFIID riid,IPSFactoryBuffer **facbuf) {
...
@@ -45,7 +45,7 @@ get_facbuf_for_iid(REFIID riid,IPSFactoryBuffer **facbuf) {
#define PIPEPREF "\\\\.\\pipe\\"
#define PIPEPREF "\\\\.\\pipe\\"
#define OLESTUBMGR PIPEPREF"WINE_OLE_StubMgr"
#define OLESTUBMGR PIPEPREF"WINE_OLE_StubMgr"
/* Standard Marshaling definitions */
/* Standard Marshal
l
ing definitions */
typedef
struct
_wine_marshal_id
{
typedef
struct
_wine_marshal_id
{
DWORD
processid
;
DWORD
processid
;
DWORD
objectid
;
/* unique value corresp. IUnknown of object */
DWORD
objectid
;
/* unique value corresp. IUnknown of object */
...
...
dlls/ole32/ftmarshal.c
View file @
f803e2a9
/*
/*
* free threaded marshaler
* free threaded marshal
l
er
*
*
* Copyright 2002 Juergen Schmied
* Copyright 2002 Juergen Schmied
*
*
...
@@ -141,14 +141,14 @@ HRESULT WINAPI FTMarshalImpl_GetMarshalSizeMax (LPMARSHAL iface, REFIID riid, vo
...
@@ -141,14 +141,14 @@ HRESULT WINAPI FTMarshalImpl_GetMarshalSizeMax (LPMARSHAL iface, REFIID riid, vo
FIXME
(
"(), stub!
\n
"
);
FIXME
(
"(), stub!
\n
"
);
/* if the marshal
ing happend
s inside the same process the interface pointer is
/* if the marshal
ling happen
s inside the same process the interface pointer is
copied between the ap
p
artments */
copied between the apartments */
if
(
dwDestContext
==
MSHCTX_INPROC
||
dwDestContext
==
MSHCTX_CROSSCTX
)
{
if
(
dwDestContext
==
MSHCTX_INPROC
||
dwDestContext
==
MSHCTX_CROSSCTX
)
{
*
pSize
=
sizeof
(
This
);
*
pSize
=
sizeof
(
This
);
return
S_OK
;
return
S_OK
;
}
}
/* use the standard marshaler to handle all other cases */
/* use the standard marshal
l
er to handle all other cases */
CoGetStandardMarshal
(
riid
,
pv
,
dwDestContext
,
pvDestContext
,
mshlflags
,
&
pMarshal
);
CoGetStandardMarshal
(
riid
,
pv
,
dwDestContext
,
pvDestContext
,
mshlflags
,
&
pMarshal
);
hres
=
IMarshal_GetMarshalSizeMax
(
pMarshal
,
riid
,
pv
,
dwDestContext
,
pvDestContext
,
mshlflags
,
pSize
);
hres
=
IMarshal_GetMarshalSizeMax
(
pMarshal
,
riid
,
pv
,
dwDestContext
,
pvDestContext
,
mshlflags
,
pSize
);
IMarshal_Release
(
pMarshal
);
IMarshal_Release
(
pMarshal
);
...
@@ -168,8 +168,8 @@ HRESULT WINAPI FTMarshalImpl_MarshalInterface (LPMARSHAL iface, IStream * pStm,
...
@@ -168,8 +168,8 @@ HRESULT WINAPI FTMarshalImpl_MarshalInterface (LPMARSHAL iface, IStream * pStm,
FIXME
(
"(), stub!
\n
"
);
FIXME
(
"(), stub!
\n
"
);
/* if the marshal
ing happend
s inside the same process the interface pointer is
/* if the marshal
ling happen
s inside the same process the interface pointer is
copied between the ap
p
artments */
copied between the apartments */
if
(
dwDestContext
==
MSHCTX_INPROC
||
dwDestContext
==
MSHCTX_CROSSCTX
)
{
if
(
dwDestContext
==
MSHCTX_INPROC
||
dwDestContext
==
MSHCTX_CROSSCTX
)
{
return
IStream_Write
(
pStm
,
This
,
sizeof
(
This
),
0
);
return
IStream_Write
(
pStm
,
This
,
sizeof
(
This
),
0
);
}
}
...
...
dlls/ole32/marshal.c
View file @
f803e2a9
/*
/*
* Marshaling library
* Marshal
l
ing library
*
*
* Copyright 2002 Marcus Meissner
* Copyright 2002 Marcus Meissner
*
*
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
extern
const
CLSID
CLSID_DfMarshal
;
extern
const
CLSID
CLSID_DfMarshal
;
/* Marshaling just passes a unique identifier to the remote client,
/* Marshal
l
ing just passes a unique identifier to the remote client,
* that makes it possible to find the passed interface again.
* that makes it possible to find the passed interface again.
*
*
* So basically we need a set of values that make it unique.
* So basically we need a set of values that make it unique.
...
@@ -350,9 +350,9 @@ ICOM_VTABLE(IMarshal) stdmvtbl = {
...
@@ -350,9 +350,9 @@ ICOM_VTABLE(IMarshal) stdmvtbl = {
/***********************************************************************
/***********************************************************************
* CoGetStandardMarshal [OLE32.23]
* CoGetStandardMarshal [OLE32.23]
*
*
* When the COM library in the client process receives a marshaled
* When the COM library in the client process receives a marshal
l
ed
* interface pointer, it looks for a CLSID to be used in creating a proxy
* interface pointer, it looks for a CLSID to be used in creating a proxy
* for the purposes of unmarshaling the packet. If the packet does not
* for the purposes of unmarshal
l
ing the packet. If the packet does not
* contain a CLSID for the proxy, COM calls CoGetStandardMarshal, passing a
* contain a CLSID for the proxy, COM calls CoGetStandardMarshal, passing a
* NULL pUnk value.
* NULL pUnk value.
* This function creates a standard proxy in the client process and returns
* This function creates a standard proxy in the client process and returns
...
...
dlls/ole32/oleproxy.c
View file @
f803e2a9
...
@@ -252,7 +252,7 @@ CFStub_Construct(LPRPCSTUBBUFFER *ppv) {
...
@@ -252,7 +252,7 @@ CFStub_Construct(LPRPCSTUBBUFFER *ppv) {
}
}
/* Since we create proxy buffers and classfactory in a pair, there is
/* Since we create proxy buffers and classfactory in a pair, there is
* no need for 2 sep
e
rate structs. Just put them in one, but remember
* no need for 2 sep
a
rate structs. Just put them in one, but remember
* the refcount.
* the refcount.
*/
*/
typedef
struct
_CFProxy
{
typedef
struct
_CFProxy
{
...
@@ -313,7 +313,7 @@ CFProxy_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) {
...
@@ -313,7 +313,7 @@ CFProxy_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) {
IClassFactory_AddRef
(
iface
);
IClassFactory_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
}
}
if
(
IsEqualIID
(
riid
,
&
IID_IMarshal
))
/* just to avoid debugoutput */
if
(
IsEqualIID
(
riid
,
&
IID_IMarshal
))
/* just to avoid debug
output */
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
FIXME
(
"Unhandled interface: %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unhandled interface: %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
...
@@ -371,7 +371,7 @@ static HRESULT WINAPI CFProxy_CreateInstance(
...
@@ -371,7 +371,7 @@ static HRESULT WINAPI CFProxy_CreateInstance(
if
(
!
msg
.
cbBuffer
)
/* interface not found on remote */
if
(
!
msg
.
cbBuffer
)
/* interface not found on remote */
return
srstatus
;
return
srstatus
;
/* We got back: [Marshaled Interface data] */
/* We got back: [Marshal
l
ed Interface data] */
TRACE
(
"got %ld bytes data.
\n
"
,
msg
.
cbBuffer
);
TRACE
(
"got %ld bytes data.
\n
"
,
msg
.
cbBuffer
);
hGlobal
=
GlobalAlloc
(
GMEM_MOVEABLE
|
GMEM_NODISCARD
|
GMEM_SHARE
,
msg
.
cbBuffer
);
hGlobal
=
GlobalAlloc
(
GMEM_MOVEABLE
|
GMEM_NODISCARD
|
GMEM_SHARE
,
msg
.
cbBuffer
);
memcpy
(
GlobalLock
(
hGlobal
),
msg
.
Buffer
,
msg
.
cbBuffer
);
memcpy
(
GlobalLock
(
hGlobal
),
msg
.
Buffer
,
msg
.
cbBuffer
);
...
...
dlls/ole32/storage32.c
View file @
f803e2a9
...
@@ -6503,7 +6503,7 @@ DWORD OLECONVERT_WriteOLE20ToBuffer(LPSTORAGE pStorage, BYTE **pData)
...
@@ -6503,7 +6503,7 @@ DWORD OLECONVERT_WriteOLE20ToBuffer(LPSTORAGE pStorage, BYTE **pData)
/*************************************************************************
/*************************************************************************
* OLECONVERT_CreateOleStream [Internal]
* OLECONVERT_CreateOleStream [Internal]
*
*
* Creates the "\001OLE" stream in the IStorage if nec
c
essary.
* Creates the "\001OLE" stream in the IStorage if necessary.
*
*
* PARAMS
* PARAMS
* pStorage [I] Dest storage to create the stream in
* pStorage [I] Dest storage to create the stream in
...
...
dlls/oleaut32/tmarshal.c
View file @
f803e2a9
...
@@ -117,7 +117,7 @@ _unmarshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN *pUnk) {
...
@@ -117,7 +117,7 @@ _unmarshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN *pUnk) {
if
(
hres
)
{
FIXME
(
"Failed Seek %lx
\n
"
,
hres
);
return
hres
;}
if
(
hres
)
{
FIXME
(
"Failed Seek %lx
\n
"
,
hres
);
return
hres
;}
hres
=
CoUnmarshalInterface
(
pStm
,
riid
,(
LPVOID
*
)
pUnk
);
hres
=
CoUnmarshalInterface
(
pStm
,
riid
,(
LPVOID
*
)
pUnk
);
if
(
hres
)
{
if
(
hres
)
{
FIXME
(
"Marshaling interface %s failed with %lx
\n
"
,
debugstr_guid
(
riid
),
hres
);
FIXME
(
"Marshal
l
ing interface %s failed with %lx
\n
"
,
debugstr_guid
(
riid
),
hres
);
return
hres
;
return
hres
;
}
}
IStream_Release
(
pStm
);
IStream_Release
(
pStm
);
...
@@ -154,7 +154,7 @@ _marshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN pUnk) {
...
@@ -154,7 +154,7 @@ _marshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN pUnk) {
hres
=
CoMarshalInterface
(
pStm
,
riid
,
newiface
,
0
,
NULL
,
0
);
hres
=
CoMarshalInterface
(
pStm
,
riid
,
newiface
,
0
,
NULL
,
0
);
IUnknown_Release
(
newiface
);
IUnknown_Release
(
newiface
);
if
(
hres
)
{
if
(
hres
)
{
FIXME
(
"Marshaling interface %s failed with %lx
\n
"
,
FIXME
(
"Marshal
l
ing interface %s failed with %lx
\n
"
,
debugstr_guid
(
riid
),
hres
debugstr_guid
(
riid
),
hres
);
);
goto
fail
;
goto
fail
;
...
...
dlls/oleaut32/typelib.c
View file @
f803e2a9
...
@@ -4762,7 +4762,7 @@ static HRESULT WINAPI ITypeInfo_fnCreateInstance( ITypeInfo2 *iface,
...
@@ -4762,7 +4762,7 @@ static HRESULT WINAPI ITypeInfo_fnCreateInstance( ITypeInfo2 *iface,
/* ITypeInfo::GetMops
/* ITypeInfo::GetMops
*
*
* Retrieves marshaling information.
* Retrieves marshal
l
ing information.
*/
*/
static
HRESULT
WINAPI
ITypeInfo_fnGetMops
(
ITypeInfo2
*
iface
,
MEMBERID
memid
,
static
HRESULT
WINAPI
ITypeInfo_fnGetMops
(
ITypeInfo2
*
iface
,
MEMBERID
memid
,
BSTR
*
pBstrMops
)
BSTR
*
pBstrMops
)
...
...
dlls/oleaut32/usrmarshal.c
View file @
f803e2a9
...
@@ -277,7 +277,7 @@ unsigned char * WINAPI VARIANT_UserMarshal(unsigned long *pFlags, unsigned char
...
@@ -277,7 +277,7 @@ unsigned char * WINAPI VARIANT_UserMarshal(unsigned long *pFlags, unsigned char
break
;
break
;
}
}
var
->
clSize
=
Pos
-
Buffer
;
var
->
clSize
=
Pos
-
Buffer
;
TRACE
(
"marshaled size=%ld
\n
"
,
var
->
clSize
);
TRACE
(
"marshal
l
ed size=%ld
\n
"
,
var
->
clSize
);
return
Pos
;
return
Pos
;
}
}
...
@@ -290,7 +290,7 @@ unsigned char * WINAPI VARIANT_UserUnmarshal(unsigned long *pFlags, unsigned cha
...
@@ -290,7 +290,7 @@ unsigned char * WINAPI VARIANT_UserUnmarshal(unsigned long *pFlags, unsigned cha
TRACE
(
"(%lx,%p,%p)
\n
"
,
*
pFlags
,
Buffer
,
pvar
);
TRACE
(
"(%lx,%p,%p)
\n
"
,
*
pFlags
,
Buffer
,
pvar
);
VariantInit
(
pvar
);
VariantInit
(
pvar
);
pvar
->
n1
.
n2
.
vt
=
var
->
rpcReserved
;
pvar
->
n1
.
n2
.
vt
=
var
->
rpcReserved
;
TRACE
(
"marshaled: clSize=%ld, vt=%04x
\n
"
,
var
->
clSize
,
var
->
vt
);
TRACE
(
"marshal
l
ed: clSize=%ld, vt=%04x
\n
"
,
var
->
clSize
,
var
->
vt
);
TRACE
(
"vt=%04x
\n
"
,
V_VT
(
pvar
));
TRACE
(
"vt=%04x
\n
"
,
V_VT
(
pvar
));
TRACE
(
"reserved: %d, %d, %d
\n
"
,
var
->
wReserved1
,
var
->
wReserved2
,
var
->
wReserved3
);
TRACE
(
"reserved: %d, %d, %d
\n
"
,
var
->
wReserved1
,
var
->
wReserved2
,
var
->
wReserved3
);
TRACE
(
"val: %ld
\n
"
,
var
->
u
.
lVal
);
TRACE
(
"val: %ld
\n
"
,
var
->
u
.
lVal
);
...
...
dlls/rpcrt4/rpcrt4_main.c
View file @
f803e2a9
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
* - widl is like MIDL for wine. For wine to be a useful RPC platform, quite
* - widl is like MIDL for wine. For wine to be a useful RPC platform, quite
* a bit of work needs to be done here. widl currently doesn't generate stubs
* a bit of work needs to be done here. widl currently doesn't generate stubs
* for RPC invocation -- it will need to; this is tricky because the MIDL compiler
* for RPC invocation -- it will need to; this is tricky because the MIDL compiler
* does some really w
ierd stuff. Then again, we don't necce
sarily have to
* does some really w
eird stuff. Then again, we don't neces
sarily have to
* make widl work like MIDL, so it could be worse. Lately Ove has been working on
* make widl work like MIDL, so it could be worse. Lately Ove has been working on
* some widl enhancements.
* some widl enhancements.
*
*
...
...
dlls/rpcrt4/rpcss_np_client.c
View file @
f803e2a9
...
@@ -118,7 +118,7 @@ BOOL RPCRT4_SendReceiveNPMsg(HANDLE np, PRPCSS_NP_MESSAGE msg, char *vardata, PR
...
@@ -118,7 +118,7 @@ BOOL RPCRT4_SendReceiveNPMsg(HANDLE np, PRPCSS_NP_MESSAGE msg, char *vardata, PR
return
FALSE
;
return
FALSE
;
}
}
/* process the vardata payload if nec
ce
sary */
/* process the vardata payload if nec
es
sary */
vardata_payload_msg
.
message_type
=
RPCSS_NP_MESSAGE_TYPEID_VARDATAPAYLOADMSG
;
vardata_payload_msg
.
message_type
=
RPCSS_NP_MESSAGE_TYPEID_VARDATAPAYLOADMSG
;
vardata_payload_msg
.
vardata_payload_size
=
0
;
/* meaningless */
vardata_payload_msg
.
vardata_payload_size
=
0
;
/* meaningless */
for
(
payload_offset
=
0
;
payload_offset
<
msg
->
vardata_payload_size
;
for
(
payload_offset
=
0
;
payload_offset
<
msg
->
vardata_payload_size
;
...
...
dlls/setupapi/setupapi.rc
View file @
f803e2a9
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
/*--------------------- FIXME --------------------------
/*--------------------- FIXME --------------------------
*
*
* These must be sep
e
rated into the language files
* These must be sep
a
rated into the language files
* and translated. The language 0,0 is a hack to get it
* and translated. The language 0,0 is a hack to get it
* loaded properly for all languages by pretending that
* loaded properly for all languages by pretending that
* they are neutral.
* they are neutral.
...
...
dlls/shell32/shres.rc
View file @
f803e2a9
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
/*--------------------- FIXME --------------------------
/*--------------------- FIXME --------------------------
*
*
* These must be sep
e
rated into the language files
* These must be sep
a
rated into the language files
* and translated. The language 0,0 is a hack to get it
* and translated. The language 0,0 is a hack to get it
* loaded properly for all languages by pretending that
* loaded properly for all languages by pretending that
* they are neutral.
* they are neutral.
...
...
dlls/shlwapi/path.c
View file @
f803e2a9
...
@@ -682,7 +682,7 @@ BOOL WINAPI PathStripToRootW(LPWSTR lpszPath)
...
@@ -682,7 +682,7 @@ BOOL WINAPI PathStripToRootW(LPWSTR lpszPath)
/*************************************************************************
/*************************************************************************
* PathRemoveArgsA [SHLWAPI.@]
* PathRemoveArgsA [SHLWAPI.@]
*
*
* Strip space sep
e
rated arguments from a path.
* Strip space sep
a
rated arguments from a path.
*
*
* PARAMS
* PARAMS
* lpszPath [I] Path to remove arguments from
* lpszPath [I] Path to remove arguments from
...
@@ -1778,7 +1778,7 @@ static BOOL PathMatchSingleMaskW(LPCWSTR name, LPCWSTR mask)
...
@@ -1778,7 +1778,7 @@ static BOOL PathMatchSingleMaskW(LPCWSTR name, LPCWSTR mask)
* NOTES
* NOTES
* Multiple search masks may be given if they are seperated by ";". The
* Multiple search masks may be given if they are seperated by ";". The
* pattern "*.*" is treated specially in that it matches all paths (for
* pattern "*.*" is treated specially in that it matches all paths (for
* backwards compat
a
bility with DOS).
* backwards compat
i
bility with DOS).
*/
*/
BOOL
WINAPI
PathMatchSpecA
(
LPCSTR
lpszPath
,
LPCSTR
lpszMask
)
BOOL
WINAPI
PathMatchSpecA
(
LPCSTR
lpszPath
,
LPCSTR
lpszMask
)
{
{
...
@@ -2601,7 +2601,7 @@ int WINAPI PathCommonPrefixA(LPCSTR lpszFile1, LPCSTR lpszFile2, LPSTR achPath)
...
@@ -2601,7 +2601,7 @@ int WINAPI PathCommonPrefixA(LPCSTR lpszFile1, LPCSTR lpszFile2, LPSTR achPath)
}
while
(
1
);
}
while
(
1
);
if
(
iLen
==
2
)
if
(
iLen
==
2
)
iLen
++
;
/* Feature/Bug compat
a
ble with Win32 */
iLen
++
;
/* Feature/Bug compat
i
ble with Win32 */
if
(
iLen
&&
achPath
)
if
(
iLen
&&
achPath
)
{
{
...
@@ -2656,7 +2656,7 @@ int WINAPI PathCommonPrefixW(LPCWSTR lpszFile1, LPCWSTR lpszFile2, LPWSTR achPat
...
@@ -2656,7 +2656,7 @@ int WINAPI PathCommonPrefixW(LPCWSTR lpszFile1, LPCWSTR lpszFile2, LPWSTR achPat
}
while
(
1
);
}
while
(
1
);
if
(
iLen
==
2
)
if
(
iLen
==
2
)
iLen
++
;
/* Feature/Bug compat
a
ble with Win32 */
iLen
++
;
/* Feature/Bug compat
i
ble with Win32 */
if
(
iLen
&&
achPath
)
if
(
iLen
&&
achPath
)
{
{
...
@@ -2871,7 +2871,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
...
@@ -2871,7 +2871,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
flags
|=
GCT_SHORTCHAR
;
/* All these are valid for DOS */
flags
|=
GCT_SHORTCHAR
;
/* All these are valid for DOS */
}
}
else
else
flags
|=
GCT_SHORTCHAR
;
/* Bug compat
a
ble with win32 */
flags
|=
GCT_SHORTCHAR
;
/* Bug compat
i
ble with win32 */
flags
|=
GCT_LFNCHAR
;
/* Valid for long file names */
flags
|=
GCT_LFNCHAR
;
/* Valid for long file names */
}
}
return
flags
;
return
flags
;
...
...
documentation/documentation.sgml
View file @
f803e2a9
...
@@ -148,7 +148,7 @@
...
@@ -148,7 +148,7 @@
<listItem><para>
<listItem><para>
Additional notes such as interaction with other parts of the system, differences
Additional notes such as interaction with other parts of the system, differences
between Wines implementation and Win32s, errors in MSDN documentation,
between Wines implementation and Win32s, errors in MSDN documentation,
undocumented cases and bugs that Wine corrects or is compat
a
ble with.
undocumented cases and bugs that Wine corrects or is compat
i
ble with.
</para></listitem>
</para></listitem>
</itemizedlist>
</itemizedlist>
...
@@ -340,7 +340,7 @@ BOOL WINAPI PathRelativePathToA(
...
@@ -340,7 +340,7 @@ BOOL WINAPI PathRelativePathToA(
<listItem><para>
<listItem><para>
<command>BUGS</command>. Any bugs in the function that exist 'by design', i.e.
<command>BUGS</command>. Any bugs in the function that exist 'by design', i.e.
those that will not be fixed or exist for compat
a
bility with Windows.
those that will not be fixed or exist for compat
i
bility with Windows.
</para></listitem>
</para></listitem>
<listItem><para>
<listItem><para>
...
...
documentation/porting.sgml
View file @
f803e2a9
...
@@ -65,13 +65,13 @@
...
@@ -65,13 +65,13 @@
<itemizedlist>
<itemizedlist>
<listitem>
<listitem>
<para>exist
a
nce of a header file</para>
<para>exist
e
nce of a header file</para>
</listitem>
</listitem>
<listitem>
<listitem>
<para>exist
a
nce of a library function</para>
<para>exist
e
nce of a library function</para>
</listitem>
</listitem>
<listitem>
<listitem>
<para>exist
a
nce of libraries</para>
<para>exist
e
nce of libraries</para>
</listitem>
</listitem>
<listitem>
<listitem>
<para>bugs in header files, library functions, the compiler, ...</para>
<para>bugs in header files, library functions, the compiler, ...</para>
...
...
documentation/winelib-porting.sgml
View file @
f803e2a9
...
@@ -222,7 +222,7 @@ printf("Processor architecture=%d\n",si ANONS .wProcessorArchitecture);
...
@@ -222,7 +222,7 @@ printf("Processor architecture=%d\n",si ANONS .wProcessorArchitecture);
<para>
<para>
In order to avoid warnings in C (and potential errors in C++)
In order to avoid warnings in C (and potential errors in C++)
from not having prototypes, you may need to use a set of MS
from not having prototypes, you may need to use a set of MS
compat
a
ble header files. These are scheduled for inclusion
compat
i
ble header files. These are scheduled for inclusion
into Wine but at the time of writing are not available. Until
into Wine but at the time of writing are not available. Until
they are, you can try prototyping the functions you need, or
they are, you can try prototyping the functions you need, or
just live with the warnings.
just live with the warnings.
...
...
graphics/painting.c
View file @
f803e2a9
...
@@ -886,12 +886,12 @@ BOOL WINAPI PolyDraw(HDC hdc, const POINT *lppt, const BYTE *lpbTypes,
...
@@ -886,12 +886,12 @@ BOOL WINAPI PolyDraw(HDC hdc, const POINT *lppt, const BYTE *lpbTypes,
/*
/*
* some macro definitions for bezier drawing
* some macro definitions for bezier drawing
*
*
* to avoid trucation errors the coordinates are
* to avoid tru
n
cation errors the coordinates are
* shifted upwards. When used in drawing they are
* shifted upwards. When used in drawing they are
* shifted down again, including correct rounding
* shifted down again, including correct rounding
* and avoiding floating point arithm
a
tic
* and avoiding floating point arithm
e
tic
* 4 bits should allow 27 bits coordinates which I saw
* 4 bits should allow 27 bits coordinates which I saw
* somewere in the win32 doc's
* somew
h
ere in the win32 doc's
*
*
*/
*/
...
...
msdos/ppdev.c
View file @
f803e2a9
...
@@ -139,7 +139,7 @@ char IO_pp_init(void)
...
@@ -139,7 +139,7 @@ char IO_pp_init(void)
if
(
ioctl
(
fd
,
PPCLAIM
,
0
))
if
(
ioctl
(
fd
,
PPCLAIM
,
0
))
{
{
ERR
(
"PPCLAIM rejected %s
\n
"
,
buffer
);
ERR
(
"PPCLAIM rejected %s
\n
"
,
buffer
);
ERR
(
"Perhaps the device is already in use or non-exist
a
nt
\n
"
);
ERR
(
"Perhaps the device is already in use or non-exist
e
nt
\n
"
);
continue
;
continue
;
}
}
if
(
nports
>
0
)
if
(
nports
>
0
)
...
@@ -168,7 +168,7 @@ char IO_pp_init(void)
...
@@ -168,7 +168,7 @@ char IO_pp_init(void)
if
(
ioctl
(
fd
,
PPRELEASE
,
0
))
if
(
ioctl
(
fd
,
PPRELEASE
,
0
))
{
{
ERR
(
"PPRELEASE rejected %s
\n
"
,
buffer
);
ERR
(
"PPRELEASE rejected %s
\n
"
,
buffer
);
ERR
(
"Perhaps the device is already in use or non-exist
a
nt
\n
"
);
ERR
(
"Perhaps the device is already in use or non-exist
e
nt
\n
"
);
continue
;
continue
;
}
}
PPDeviceList
[
nports
].
devicename
=
malloc
(
sizeof
(
buffer
)
+
1
);
PPDeviceList
[
nports
].
devicename
=
malloc
(
sizeof
(
buffer
)
+
1
);
...
...
programs/rpcss/rpcss_main.c
View file @
f803e2a9
...
@@ -43,8 +43,8 @@
...
@@ -43,8 +43,8 @@
* o Wine's named pipes (in general) may not interoperate with those of
* o Wine's named pipes (in general) may not interoperate with those of
* Windows yet (?)
* Windows yet (?)
*
*
* o There is a looming problem regarding listening on priv
e
leged
* o There is a looming problem regarding listening on priv
i
leged
* ports. We will need to be able to coexist with SAMBA, and able
* ports. We will need to be able to coexist with SAMBA, and
be
able
* to function without running winelib code as root. This may
* to function without running winelib code as root. This may
* take some doing, including significant reconceptualization of the
* take some doing, including significant reconceptualization of the
* role of rpcss.exe in wine.
* role of rpcss.exe in wine.
...
...
tools/c2man.pl
View file @
f803e2a9
...
@@ -759,7 +759,7 @@ sub process_comment
...
@@ -759,7 +759,7 @@ sub process_comment
$prototype
=~
s/ *\* */\*/g
;
# Strip space around pointers
$prototype
=~
s/ *\* */\*/g
;
# Strip space around pointers
$prototype
=~
s/ *\, */\,/g
;
# Strip space around commas
$prototype
=~
s/ *\, */\,/g
;
# Strip space around commas
$prototype
=~
s/^(void|VOID)$//
;
# If void, leave blank
$prototype
=~
s/^(void|VOID)$//
;
# If void, leave blank
$prototype
=~
s/\*([A-Za-z_])/\* $1/g
;
# Sep
e
rate pointers from parameter name
$prototype
=~
s/\*([A-Za-z_])/\* $1/g
;
# Sep
a
rate pointers from parameter name
@
{
$comment
->
{
PROTOTYPE
}}
=
split
(
/,/
,
$prototype
);
@
{
$comment
->
{
PROTOTYPE
}}
=
split
(
/,/
,
$prototype
);
# FIXME: If we have no parameters, make sure we have a PARAMS: None. section
# FIXME: If we have no parameters, make sure we have a PARAMS: None. section
...
...
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