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
623c0d6f
Commit
623c0d6f
authored
Jul 03, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Jul 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion crtdll: added fsopen() dinput: return that we are attached.
parent
6a232b0c
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
20 additions
and
16 deletions
+20
-16
advapi.c
dlls/advapi32/advapi.c
+1
-1
eventlog.c
dlls/advapi32/eventlog.c
+1
-0
avifile.c
dlls/avifil32/avifile.c
+1
-1
propsheet.c
dlls/comctl32/propsheet.c
+1
-0
trackbar.c
dlls/comctl32/trackbar.c
+1
-0
resource.c
dlls/version/resource.c
+0
-3
relay.c
if1632/relay.c
+1
-0
win.h
include/win.h
+1
-0
elf.c
loader/elf.c
+4
-2
pe_image.c
loader/pe_image.c
+1
-7
crtdll.c
misc/crtdll.c
+4
-0
shell.c
misc/shell.c
+1
-0
dsound.c
multimedia/dsound.c
+1
-1
crtdll.spec
relay32/crtdll.spec
+1
-1
dinput.c
windows/dinput.c
+1
-0
No files found.
dlls/advapi32/advapi.c
View file @
623c0d6f
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
#include <unistd.h>
#include <unistd.h>
#include <string.h>
#include <string.h>
#include "winbase.h"
#include "windef.h"
#include "windef.h"
#include "winerror.h"
#include "winerror.h"
#include "wine/winestring.h"
#include "wine/winestring.h"
#include "heap.h"
#include "debugtools.h"
#include "debugtools.h"
...
...
dlls/advapi32/eventlog.c
View file @
623c0d6f
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* Copyright 1995 Sven Verdoolaege, 1998 Juergen Schmied
* Copyright 1995 Sven Verdoolaege, 1998 Juergen Schmied
*/
*/
#include "winbase.h"
#include "windef.h"
#include "windef.h"
#include "winreg.h"
#include "winreg.h"
#include "winerror.h"
#include "winerror.h"
...
...
dlls/avifil32/avifile.c
View file @
623c0d6f
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
#include <stdio.h>
#include <stdio.h>
#include <assert.h>
#include <assert.h>
#include "vfw.h"
#include "winbase.h"
#include "winbase.h"
#include "vfw.h"
#include "wine/winestring.h"
#include "wine/winestring.h"
#include "driver.h"
#include "driver.h"
#include "mmsystem.h"
#include "mmsystem.h"
...
...
dlls/comctl32/propsheet.c
View file @
623c0d6f
...
@@ -761,6 +761,7 @@ static void PROPSHEET_Changed(HWND hwndDlg, HWND hwndDirtyPage)
...
@@ -761,6 +761,7 @@ static void PROPSHEET_Changed(HWND hwndDlg, HWND hwndDirtyPage)
PropSheetInfo
*
psInfo
=
(
PropSheetInfo
*
)
GetPropA
(
hwndDlg
,
PropSheetInfo
*
psInfo
=
(
PropSheetInfo
*
)
GetPropA
(
hwndDlg
,
PropSheetInfoStr
);
PropSheetInfoStr
);
if
(
!
psInfo
)
return
;
/*
/*
* Set the dirty flag of this page.
* Set the dirty flag of this page.
*/
*/
...
...
dlls/comctl32/trackbar.c
View file @
623c0d6f
...
@@ -167,6 +167,7 @@ TRACKBAR_CalcThumb (HWND hwnd, TRACKBAR_INFO *infoPtr)
...
@@ -167,6 +167,7 @@ TRACKBAR_CalcThumb (HWND hwnd, TRACKBAR_INFO *infoPtr)
thumb
=&
infoPtr
->
rcThumb
;
thumb
=&
infoPtr
->
rcThumb
;
range
=
infoPtr
->
nRangeMax
-
infoPtr
->
nRangeMin
;
range
=
infoPtr
->
nRangeMax
-
infoPtr
->
nRangeMin
;
if
(
!
range
)
return
;
/* FIXME: may this happen? */
if
(
GetWindowLongA
(
hwnd
,
GWL_STYLE
)
&
TBS_VERT
)
{
if
(
GetWindowLongA
(
hwnd
,
GWL_STYLE
)
&
TBS_VERT
)
{
width
=
infoPtr
->
rcChannel
.
bottom
-
infoPtr
->
rcChannel
.
top
;
width
=
infoPtr
->
rcChannel
.
bottom
-
infoPtr
->
rcChannel
.
top
;
thumb
->
left
=
infoPtr
->
rcChannel
.
left
-
1
;
thumb
->
left
=
infoPtr
->
rcChannel
.
left
-
1
;
...
...
dlls/version/resource.c
View file @
623c0d6f
...
@@ -9,13 +9,10 @@
...
@@ -9,13 +9,10 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include "peexe.h"
#include "neexe.h"
#include "neexe.h"
#include "module.h"
#include "module.h"
#include "winver.h"
#include "winver.h"
#include "heap.h"
#include "lzexpand.h"
#include "lzexpand.h"
#include "peexe.h"
#include "debugtools.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL
(
ver
)
DEFAULT_DEBUG_CHANNEL
(
ver
)
...
...
if1632/relay.c
View file @
623c0d6f
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
#include "module.h"
#include "module.h"
#include "stackframe.h"
#include "stackframe.h"
#include "task.h"
#include "task.h"
#include "syslevel.h"
#include "debugstr.h"
#include "debugstr.h"
#include "debugtools.h"
#include "debugtools.h"
#include "main.h"
#include "main.h"
...
...
include/win.h
View file @
623c0d6f
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
#ifndef __WINE_WIN_H
#ifndef __WINE_WIN_H
#define __WINE_WIN_H
#define __WINE_WIN_H
#include "winuser.h"
#include "queue.h"
#include "queue.h"
#include "class.h"
#include "class.h"
...
...
loader/elf.c
View file @
623c0d6f
...
@@ -114,8 +114,10 @@ WINE_MODREF *ELF_LoadLibraryExA( LPCSTR libname, DWORD flags, DWORD *err)
...
@@ -114,8 +114,10 @@ WINE_MODREF *ELF_LoadLibraryExA( LPCSTR libname, DWORD flags, DWORD *err)
if
(
!
s
)
if
(
!
s
)
s
=
strrchr
(
libname
,
'\\'
);
s
=
strrchr
(
libname
,
'\\'
);
if
(
s
)
{
if
(
s
)
{
strncpy
(
t
,
libname
,
s
-
libname
+
1
);
s
++
;
/* skip / or \ */
t
[
s
-
libname
+
1
]
=
'\0'
;
/* copy everything up to s-1 */
memcpy
(
t
,
libname
,
s
-
libname
);
t
[
s
-
libname
]
=
'\0'
;
}
else
}
else
s
=
(
LPSTR
)
libname
;
s
=
(
LPSTR
)
libname
;
modname
=
s
;
modname
=
s
;
...
...
loader/pe_image.c
View file @
623c0d6f
...
@@ -422,14 +422,8 @@ static void do_relocations( unsigned int load_addr, IMAGE_BASE_RELOCATION *r )
...
@@ -422,14 +422,8 @@ static void do_relocations( unsigned int load_addr, IMAGE_BASE_RELOCATION *r )
*
(
short
*
)(
page
+
offset
)
+=
ldelta
;
*
(
short
*
)(
page
+
offset
)
+=
ldelta
;
break
;
break
;
case
IMAGE_REL_BASED_HIGHLOW
:
case
IMAGE_REL_BASED_HIGHLOW
:
#if 1
*
(
int
*
)(
page
+
offset
)
+=
delta
;
*
(
int
*
)(
page
+
offset
)
+=
delta
;
#else
/* FIXME: if this is an exported address, fire up enhanced logic */
{
int
h
=*
(
unsigned
short
*
)(
page
+
offset
);
int
l
=
r
->
TypeOffset
[
++
i
];
*
(
unsigned
int
*
)(
page
+
offset
)
=
(
h
<<
16
)
+
l
+
delta
;
}
#endif
break
;
break
;
case
IMAGE_REL_BASED_HIGHADJ
:
case
IMAGE_REL_BASED_HIGHADJ
:
FIXME_
(
win32
)(
"Don't know what to do with IMAGE_REL_BASED_HIGHADJ
\n
"
);
FIXME_
(
win32
)(
"Don't know what to do with IMAGE_REL_BASED_HIGHADJ
\n
"
);
...
...
misc/crtdll.c
View file @
623c0d6f
...
@@ -247,6 +247,10 @@ DWORD __cdecl CRTDLL__initterm(_INITTERMFUN *start,_INITTERMFUN *end)
...
@@ -247,6 +247,10 @@ DWORD __cdecl CRTDLL__initterm(_INITTERMFUN *start,_INITTERMFUN *end)
return
0
;
return
0
;
}
}
CRTDLL_FILE
*
__cdecl
CRTDLL__fsopen
(
LPCSTR
x
,
LPCSTR
y
,
INT
z
)
{
FIXME
(
"(%s,%s,%d),stub!
\n
"
,
x
,
y
,
z
);
return
NULL
;
}
/*********************************************************************
/*********************************************************************
* _fdopen (CRTDLL.91)
* _fdopen (CRTDLL.91)
*/
*/
...
...
misc/shell.c
View file @
623c0d6f
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#include "shlobj.h"
#include "shlobj.h"
#include "debugtools.h"
#include "debugtools.h"
#include "winreg.h"
#include "winreg.h"
#include "syslevel.h"
#include "imagelist.h"
#include "imagelist.h"
DECLARE_DEBUG_CHANNEL
(
exec
)
DECLARE_DEBUG_CHANNEL
(
exec
)
...
...
multimedia/dsound.c
View file @
623c0d6f
...
@@ -2277,7 +2277,7 @@ HRESULT WINAPI DirectSoundCreate(REFGUID lpGUID,LPDIRECTSOUND *ppDS,IUnknown *pU
...
@@ -2277,7 +2277,7 @@ HRESULT WINAPI DirectSoundCreate(REFGUID lpGUID,LPDIRECTSOUND *ppDS,IUnknown *pU
}
else
if
(
errno
==
EBUSY
)
{
}
else
if
(
errno
==
EBUSY
)
{
MSG
(
"Sound device busy, will keep trying.
\n
"
);
MSG
(
"Sound device busy, will keep trying.
\n
"
);
}
else
{
}
else
{
MSG
(
"Unexpected error
while checking for sound support.
\n
"
);
MSG
(
"Unexpected error
(%d) while checking for sound support.
\n
"
,
errno
);
return
DSERR_GENERIC
;
return
DSERR_GENERIC
;
}
}
}
else
{
}
else
{
...
...
relay32/crtdll.spec
View file @
623c0d6f
...
@@ -112,7 +112,7 @@ init CRTDLL_Init
...
@@ -112,7 +112,7 @@ init CRTDLL_Init
107 cdecl _fpreset() CRTDLL__fpreset
107 cdecl _fpreset() CRTDLL__fpreset
108 stub _fputchar
108 stub _fputchar
109 stub _fputwchar
109 stub _fputwchar
110
stub
_fsopen
110
cdecl _fsopen(str str long) CRTDLL_
_fsopen
111 cdecl _fstat(long ptr) CRTDLL__fstat
111 cdecl _fstat(long ptr) CRTDLL__fstat
112 stub _ftime
112 stub _ftime
113 cdecl _ftol() CRTDLL__ftol
113 cdecl _ftol() CRTDLL__ftol
...
...
windows/dinput.c
View file @
623c0d6f
...
@@ -517,6 +517,7 @@ static HRESULT WINAPI IDirectInputDevice2AImpl_GetCapabilities(
...
@@ -517,6 +517,7 @@ static HRESULT WINAPI IDirectInputDevice2AImpl_GetCapabilities(
LPDIRECTINPUTDEVICE2A
iface
,
LPDIRECTINPUTDEVICE2A
iface
,
LPDIDEVCAPS
lpDIDevCaps
)
LPDIDEVCAPS
lpDIDevCaps
)
{
{
lpDIDevCaps
->
dwFlags
=
DIDC_ATTACHED
;
FIXME
(
dinput
,
"stub!
\n
"
);
FIXME
(
dinput
,
"stub!
\n
"
);
return
DI_OK
;
return
DI_OK
;
}
}
...
...
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