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
4305e6d1
Commit
4305e6d1
authored
Dec 11, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use iob_func instead of p__iob on non-x86.
parent
d8ab5a14
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
13 deletions
+18
-13
msvcr71.spec
dlls/msvcr71/msvcr71.spec
+1
-1
file.c
dlls/msvcrt/file.c
+2
-2
main.c
dlls/msvcrt/main.c
+2
-2
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-1
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
msvcrt20.spec
dlls/msvcrt20/msvcrt20.spec
+1
-1
msvcrt40.spec
dlls/msvcrt40/msvcrt40.spec
+1
-1
msvcrtd.spec
dlls/msvcrtd/msvcrtd.spec
+1
-1
stdio.h
include/msvcrt/stdio.h
+7
-2
No files found.
dlls/msvcr71/msvcr71.spec
View file @
4305e6d1
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
@ cdecl __p__environ() msvcrt.__p__environ
@ cdecl __p__environ() msvcrt.__p__environ
@ cdecl __p__fileinfo() msvcrt.__p__fileinfo
@ cdecl __p__fileinfo() msvcrt.__p__fileinfo
@ cdecl __p__fmode() msvcrt.__p__fmode
@ cdecl __p__fmode() msvcrt.__p__fmode
@ cdecl __p__iob() msvcrt.__p__iob
@ cdecl
-arch=i386
__p__iob() msvcrt.__p__iob
@ cdecl __p__mbcasemap() msvcrt.__p__mbcasemap
@ cdecl __p__mbcasemap() msvcrt.__p__mbcasemap
@ cdecl __p__mbctype() msvcrt.__p__mbctype
@ cdecl __p__mbctype() msvcrt.__p__mbctype
@ cdecl __p__osver() msvcrt.__p__osver
@ cdecl __p__osver() msvcrt.__p__osver
...
...
dlls/msvcrt/file.c
View file @
4305e6d1
...
@@ -451,9 +451,9 @@ static void msvcrt_int_to_base32(int num, char *str)
...
@@ -451,9 +451,9 @@ static void msvcrt_int_to_base32(int num, char *str)
}
}
/*********************************************************************
/*********************************************************************
* __
p__iob
(MSVCRT.@)
* __
iob_func
(MSVCRT.@)
*/
*/
MSVCRT_FILE
*
CDECL
__p__iob
(
void
)
MSVCRT_FILE
*
CDECL
MSVCRT___iob_func
(
void
)
{
{
return
&
MSVCRT__iob
[
0
];
return
&
MSVCRT__iob
[
0
];
}
}
...
...
dlls/msvcrt/main.c
View file @
4305e6d1
...
@@ -67,10 +67,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
...
@@ -67,10 +67,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
{
thread_data_t
*
tls
;
thread_data_t
*
tls
;
TRACE
(
"(%p, %s, %p) pid(%x), tid(%x), tls(%
ld
)
\n
"
,
TRACE
(
"(%p, %s, %p) pid(%x), tid(%x), tls(%
u
)
\n
"
,
hinstDLL
,
msvcrt_get_reason
(
fdwReason
),
lpvReserved
,
hinstDLL
,
msvcrt_get_reason
(
fdwReason
),
lpvReserved
,
GetCurrentProcessId
(),
GetCurrentThreadId
(),
GetCurrentProcessId
(),
GetCurrentThreadId
(),
(
long
)
msvcrt_tls_index
);
msvcrt_tls_index
);
switch
(
fdwReason
)
switch
(
fdwReason
)
{
{
...
...
dlls/msvcrt/msvcrt.h
View file @
4305e6d1
...
@@ -650,7 +650,7 @@ char* __cdecl MSVCRT_getenv(const char*);
...
@@ -650,7 +650,7 @@ char* __cdecl MSVCRT_getenv(const char*);
char
*
__cdecl
MSVCRT_setlocale
(
int
,
const
char
*
);
char
*
__cdecl
MSVCRT_setlocale
(
int
,
const
char
*
);
int
__cdecl
MSVCRT_fclose
(
MSVCRT_FILE
*
);
int
__cdecl
MSVCRT_fclose
(
MSVCRT_FILE
*
);
void
__cdecl
MSVCRT_terminate
(
void
);
void
__cdecl
MSVCRT_terminate
(
void
);
MSVCRT_FILE
*
__cdecl
MSVCRT__
p__iob
(
void
);
MSVCRT_FILE
*
__cdecl
MSVCRT__
iob_func
(
void
);
MSVCRT_time_t
__cdecl
MSVCRT_mktime
(
struct
MSVCRT_tm
*
t
);
MSVCRT_time_t
__cdecl
MSVCRT_mktime
(
struct
MSVCRT_tm
*
t
);
struct
MSVCRT_tm
*
__cdecl
MSVCRT_localtime
(
const
MSVCRT_time_t
*
secs
);
struct
MSVCRT_tm
*
__cdecl
MSVCRT_localtime
(
const
MSVCRT_time_t
*
secs
);
struct
MSVCRT_tm
*
__cdecl
MSVCRT_gmtime
(
const
MSVCRT_time_t
*
secs
);
struct
MSVCRT_tm
*
__cdecl
MSVCRT_gmtime
(
const
MSVCRT_time_t
*
secs
);
...
...
dlls/msvcrt/msvcrt.spec
View file @
4305e6d1
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
@ stub __get_app_type
@ stub __get_app_type
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
__p__iob
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
@ cdecl __p__environ()
@ cdecl __p__environ()
@ stub __p__fileinfo #()
@ stub __p__fileinfo #()
@ cdecl __p__fmode()
@ cdecl __p__fmode()
@ cdecl
__p__iob()
@ cdecl
-arch=i386 __p__iob() MSVCRT___iob_func
@ stub __p__mbcasemap #()
@ stub __p__mbcasemap #()
@ cdecl __p__mbctype()
@ cdecl __p__mbctype()
@ cdecl __p__osver()
@ cdecl __p__osver()
...
...
dlls/msvcrt20/msvcrt20.spec
View file @
4305e6d1
...
@@ -483,7 +483,7 @@
...
@@ -483,7 +483,7 @@
@ cdecl __p__daylight() msvcrt.__p__daylight
@ cdecl __p__daylight() msvcrt.__p__daylight
@ cdecl __p__environ() msvcrt.__p__environ
@ cdecl __p__environ() msvcrt.__p__environ
@ cdecl __p__fmode() msvcrt.__p__fmode
@ cdecl __p__fmode() msvcrt.__p__fmode
@ cdecl __p__iob() msvcrt.__p__iob
@ cdecl
-arch=i386
__p__iob() msvcrt.__p__iob
@ cdecl __p__mbctype() msvcrt.__p__mbctype
@ cdecl __p__mbctype() msvcrt.__p__mbctype
@ cdecl __p__osver() msvcrt.__p__osver
@ cdecl __p__osver() msvcrt.__p__osver
@ cdecl __p__pctype() msvcrt.__p__pctype
@ cdecl __p__pctype() msvcrt.__p__pctype
...
...
dlls/msvcrt40/msvcrt40.spec
View file @
4305e6d1
...
@@ -532,7 +532,7 @@
...
@@ -532,7 +532,7 @@
@ cdecl __p__dstbias() msvcrt.__p__dstbias
@ cdecl __p__dstbias() msvcrt.__p__dstbias
@ cdecl __p__environ() msvcrt.__p__environ
@ cdecl __p__environ() msvcrt.__p__environ
@ cdecl __p__fmode() msvcrt.__p__fmode
@ cdecl __p__fmode() msvcrt.__p__fmode
@ cdecl __p__iob() msvcrt.__p__iob
@ cdecl
-arch=i386
__p__iob() msvcrt.__p__iob
@ cdecl __p__mbctype() msvcrt.__p__mbctype
@ cdecl __p__mbctype() msvcrt.__p__mbctype
@ cdecl __p__osver() msvcrt.__p__osver
@ cdecl __p__osver() msvcrt.__p__osver
@ cdecl __p__pctype() msvcrt.__p__pctype
@ cdecl __p__pctype() msvcrt.__p__pctype
...
...
dlls/msvcrtd/msvcrtd.spec
View file @
4305e6d1
...
@@ -136,7 +136,7 @@
...
@@ -136,7 +136,7 @@
@ cdecl __p__environ() msvcrt.__p__environ
@ cdecl __p__environ() msvcrt.__p__environ
@ cdecl __p__fileinfo() msvcrt.__p__fileinfo
@ cdecl __p__fileinfo() msvcrt.__p__fileinfo
@ cdecl __p__fmode() msvcrt.__p__fmode
@ cdecl __p__fmode() msvcrt.__p__fmode
@ cdecl __p__iob() msvcrt.__p__iob
@ cdecl
-arch=i386
__p__iob() msvcrt.__p__iob
@ cdecl __p__mbcasemap() msvcrt.__p__mbcasemap
@ cdecl __p__mbcasemap() msvcrt.__p__mbcasemap
@ cdecl __p__mbctype() msvcrt.__p__mbctype
@ cdecl __p__mbctype() msvcrt.__p__mbctype
@ cdecl __p__osver() msvcrt.__p__osver
@ cdecl __p__osver() msvcrt.__p__osver
...
...
include/msvcrt/stdio.h
View file @
4305e6d1
...
@@ -81,8 +81,13 @@ extern "C" {
...
@@ -81,8 +81,13 @@ extern "C" {
#endif
#endif
#ifndef _STDIO_DEFINED
#ifndef _STDIO_DEFINED
FILE
*
__p__iob
(
void
);
# ifdef _WIN64
/* __p__iob is not exported in Win64 */
#define _iob (__p__iob())
FILE
*
__iob_func
(
void
);
# define _iob (__iob_func())
# else
FILE
*
__p__iob
(
void
);
# define _iob (__p__iob())
# endif
/* _WIN64 */
#endif
/* _STDIO_DEFINED */
#endif
/* _STDIO_DEFINED */
#define stdin (_iob+STDIN_FILENO)
#define stdin (_iob+STDIN_FILENO)
...
...
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