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
7a4e5997
Commit
7a4e5997
authored
Dec 01, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Dec 01, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some issues found by winapi_check.
parent
94a50778
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
48 additions
and
17 deletions
+48
-17
configure
configure
+0
-0
configure.in
configure.in
+3
-1
crtdll.spec
dlls/crtdll/crtdll.spec
+2
-2
crtdll_main.c
dlls/crtdll/crtdll_main.c
+5
-2
file.c
dlls/crtdll/file.c
+1
-1
icmp_main.c
dlls/icmp/icmp_main.c
+4
-2
kernel.spec
dlls/kernel/kernel.spec
+1
-1
ftp.c
dlls/wininet/ftp.c
+7
-4
config.h.in
include/config.h.in
+6
-0
dosmod.c
loader/dos/dosmod.c
+3
-1
registry.c
misc/registry.c
+9
-0
context_sparc.c
server/context_sparc.c
+7
-3
No files found.
configure
View file @
7a4e5997
This diff is collapsed.
Click to expand it.
configure.in
View file @
7a4e5997
...
...
@@ -776,6 +776,8 @@ AC_CHECK_HEADERS(\
net/if.h \
netdb.h \
netinet/in.h \
netinet/in_systm.h \
netinet/ip.h \
netinet/tcp.h \
pty.h \
resolv.h \
...
...
@@ -809,7 +811,7 @@ AC_CHECK_HEADERS(\
sys/vfs.h \
sys/vm86.h \
syscall.h \
ucontext.h
ucontext.h
\
)
AC_HEADER_STAT()
...
...
dlls/crtdll/crtdll.spec
View file @
7a4e5997
...
...
@@ -73,7 +73,7 @@ debug_channels (crtdll)
@ stub _cprintf
@ stub _cpumode_dll
@ stub _cputs
@ cdecl _creat(str long) C
TR
DLL__creat
@ cdecl _creat(str long) C
RT
DLL__creat
@ stub _cscanf
@ extern _ctype CRTDLL_ctype
@ stub _cwait
...
...
@@ -465,7 +465,7 @@ debug_channels (crtdll)
@ cdecl signal(long ptr) CRTDLL_signal
@ cdecl sin(double) sin
@ cdecl sinh(double) sinh
@ varargs sprintf() sprintf
@ varargs sprintf(
ptr ptr
) sprintf
@ cdecl sqrt(double) sqrt
@ cdecl srand(long) srand
@ varargs sscanf() sscanf
...
...
dlls/crtdll/crtdll_main.c
View file @
7a4e5997
...
...
@@ -22,7 +22,10 @@ UB 000416:
* since we need 2 byte wide characters. - Marcus Meissner, 981031
*/
#include "config.h"
#include "crtdll.h"
#include <ctype.h>
#define __USE_ISOC9X 1
#define __USE_ISOC99 1
...
...
@@ -1506,7 +1509,7 @@ VOID __cdecl CRTDLL__purecall(VOID)
/*********************************************************************
*
_
div (CRTDLL.358)
* div (CRTDLL.358)
*
* Return the quotient and remainder of long integer division.
*/
...
...
@@ -1529,7 +1532,7 @@ div_t __cdecl CRTDLL_div(INT x, INT y)
/*********************************************************************
*
_
ldiv (CRTDLL.249)
* ldiv (CRTDLL.249)
*
* Return the quotient and remainder of long integer division.
*/
...
...
dlls/crtdll/file.c
View file @
7a4e5997
...
...
@@ -302,7 +302,7 @@ INT __cdecl CRTDLL__commit(INT fd)
*
* Open a file, creating it if it is not present.
*/
INT
__cdecl
C
TR
DLL__creat
(
LPCSTR
path
,
INT
flags
)
INT
__cdecl
C
RT
DLL__creat
(
LPCSTR
path
,
INT
flags
)
{
INT
usedFlags
=
(
flags
&
_O_TEXT
)
|
_O_CREAT
|
_O_WRONLY
|
_O_TRUNC
;
return
CRTDLL__open
(
path
,
usedFlags
);
...
...
dlls/icmp/icmp_main.c
View file @
7a4e5997
...
...
@@ -26,9 +26,11 @@
# include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
# include <netdb.h>
#endif
#ifdef HAVE_NETINET_IN_SYSTM_H
# include <netinet/in_systm.h>
#endif
#include <netinet/in_systm.h>
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
...
...
dlls/kernel/kernel.spec
View file @
7a4e5997
...
...
@@ -238,7 +238,7 @@ owner kernel32
224 pascal RegQueryValue(long str ptr ptr) RegQueryValue16
225 pascal RegQueryValueEx(long str ptr ptr ptr ptr) RegQueryValueEx16
226 pascal RegSetValueEx(long str long long ptr long) RegSetValueEx16
227 pascal RegFlushKey(long) RegFlushKey
227 pascal RegFlushKey(long) RegFlushKey
16
228 pascal16 K228(word) GetExePtr
229 pascal16 K229(long) Local32GetSegment16
230 pascal GlobalSmartPageLock(word) GlobalPageLock16 #?
...
...
dlls/wininet/ftp.c
View file @
7a4e5997
...
...
@@ -22,12 +22,15 @@
#endif
#include <sys/stat.h>
#include <unistd.h>
#include <netinet/in_systm.h>
#ifdef HAVE_NETINET_IH_H
#ifdef HAVE_NETINET_IN_SYSTM_H
# include <netinet/in_systm.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <netinet/in.h>
#include <netinet/ip.h>
#ifdef HAVE_NETINET_IP_H
# include <netinet/ip.h>
#endif
#include "winbase.h"
#include "wingdi.h"
...
...
include/config.h.in
View file @
7a4e5997
...
...
@@ -350,6 +350,12 @@
/* Define if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H
/* Define if you have the <netinet/in_systm.h> header file. */
#undef HAVE_NETINET_IN_SYSTM_H
/* Define if you have the <netinet/ip.h> header file. */
#undef HAVE_NETINET_IP_H
/* Define if you have the <netinet/tcp.h> header file. */
#undef HAVE_NETINET_TCP_H
...
...
loader/dos/dosmod.c
View file @
7a4e5997
...
...
@@ -30,7 +30,9 @@ asm(".org 0x110000");
#endif
#include <sys/time.h>
#include <sys/types.h>
#include <sys/ptrace.h>
#ifdef HAVE_SYS_PTRACE_H
# include <sys/ptrace.h>
#endif
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
...
...
misc/registry.c
View file @
7a4e5997
...
...
@@ -1861,3 +1861,12 @@ DWORD WINAPI RegSetValueEx16( HKEY hkey, LPCSTR name, DWORD reserved, DWORD type
if
(
!
count
&&
(
type
==
REG_SZ
))
count
=
strlen
(
data
);
return
RegSetValueExA
(
hkey
,
name
,
reserved
,
type
,
data
,
count
);
}
/******************************************************************************
* RegFlushKey16 [KERNEL.227]
*/
DWORD
WINAPI
RegFlushKey16
(
HKEY
hkey
)
{
fix_win16_hkey
(
&
hkey
);
return
RegFlushKey
(
hkey
);
}
server/context_sparc.c
View file @
7a4e5997
...
...
@@ -12,11 +12,15 @@
#include <errno.h>
#include <sys/types.h>
#ifdef HAVE_SYS_REG_H
#include <sys/reg.h>
#
include <sys/reg.h>
#endif
#include <unistd.h>
#include <sys/ptrace.h>
#include <sys/user.h>
#ifdef HAVE_SYS_PTRACE_H
# include <sys/ptrace.h>
#endif
#ifdef HAVE_SYS_USER_H
# include <sys/user.h>
#endif
#include "winbase.h"
...
...
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