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
ca501174
Commit
ca501174
authored
Mar 26, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Export the __acrt_iob_func function from the import library.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0673ddf3
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
65 additions
and
29 deletions
+65
-29
Makefile.in
dlls/msvcr100/Makefile.in
+1
-0
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+2
-2
Makefile.in
dlls/msvcr110/Makefile.in
+1
-0
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+2
-2
Makefile.in
dlls/msvcr120/Makefile.in
+1
-0
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+2
-2
Makefile.in
dlls/msvcr70/Makefile.in
+1
-0
msvcr70.spec
dlls/msvcr70/msvcr70.spec
+2
-2
Makefile.in
dlls/msvcr71/Makefile.in
+1
-0
msvcr71.spec
dlls/msvcr71/msvcr71.spec
+2
-2
Makefile.in
dlls/msvcr80/Makefile.in
+1
-0
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+2
-2
Makefile.in
dlls/msvcr90/Makefile.in
+1
-0
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+2
-2
Makefile.in
dlls/msvcrt/Makefile.in
+1
-0
file.c
dlls/msvcrt/file.c
+2
-10
iob.c
dlls/msvcrt/iob.c
+36
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-3
Makefile.in
dlls/ucrtbase/Makefile.in
+1
-0
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+2
-2
No files found.
dlls/msvcr100/Makefile.in
View file @
ca501174
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/msvcr100/msvcr100.spec
View file @
ca501174
...
...
@@ -594,7 +594,7 @@
@ stub __get_tlsindex
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __iob_func()
__p__iob
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
...
@@ -636,7 +636,7 @@
@ cdecl __p__dstbias() MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode() MSVCRT___p__fmode
@ cdecl __p__iob()
MSVCRT___iob_func
@ cdecl __p__iob()
@ stub __p__mbcasemap()
@ cdecl __p__mbctype()
@ cdecl __p__pctype() MSVCRT___p__pctype
...
...
dlls/msvcr110/Makefile.in
View file @
ca501174
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/msvcr110/msvcr110.spec
View file @
ca501174
...
...
@@ -942,7 +942,7 @@
@ stub __get_tlsindex
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __iob_func()
__p__iob
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
...
@@ -985,7 +985,7 @@
@ cdecl __p__dstbias() MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode() MSVCRT___p__fmode
@ cdecl __p__iob()
MSVCRT___iob_func
@ cdecl __p__iob()
@ stub __p__mbcasemap()
@ cdecl __p__mbctype()
@ cdecl __p__pctype() MSVCRT___p__pctype
...
...
dlls/msvcr120/Makefile.in
View file @
ca501174
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/msvcr120/msvcr120.spec
View file @
ca501174
...
...
@@ -932,7 +932,7 @@
@ stub __get_tlsindex
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __iob_func()
__p__iob
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
...
@@ -975,7 +975,7 @@
@ cdecl __p__dstbias() MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode() MSVCRT___p__fmode
@ cdecl __p__iob()
MSVCRT___iob_func
@ cdecl __p__iob()
@ stub __p__mbcasemap()
@ cdecl __p__mbctype()
@ cdecl __p__pctype() MSVCRT___p__pctype
...
...
dlls/msvcr70/Makefile.in
View file @
ca501174
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/msvcr70/msvcr70.spec
View file @
ca501174
...
...
@@ -151,7 +151,7 @@
@ cdecl __fpecode()
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __iob_func()
__p__iob
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
...
@@ -175,7 +175,7 @@
@ cdecl __p__environ() MSVCRT___p__environ
@ stub __p__fileinfo()
@ cdecl __p__fmode() MSVCRT___p__fmode
@ cdecl __p__iob()
MSVCRT___iob_func
@ cdecl __p__iob()
@ stub __p__mbcasemap()
@ cdecl __p__mbctype()
@ cdecl __p__osver()
...
...
dlls/msvcr71/Makefile.in
View file @
ca501174
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/msvcr71/msvcr71.spec
View file @
ca501174
...
...
@@ -146,7 +146,7 @@
@ cdecl __fpecode()
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __iob_func()
__p__iob
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
...
@@ -170,7 +170,7 @@
@ cdecl __p__environ() MSVCRT___p__environ
@ stub __p__fileinfo()
@ cdecl __p__fmode() MSVCRT___p__fmode
@ cdecl __p__iob()
MSVCRT___iob_func
@ cdecl __p__iob()
@ stub __p__mbcasemap()
@ cdecl __p__mbctype()
@ cdecl __p__osver()
...
...
dlls/msvcr80/Makefile.in
View file @
ca501174
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/msvcr80/msvcr80.spec
View file @
ca501174
...
...
@@ -233,7 +233,7 @@
@ stub __get_tlsindex
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __iob_func()
__p__iob
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
...
@@ -280,7 +280,7 @@
@ cdecl __p__dstbias() MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode() MSVCRT___p__fmode
@ cdecl __p__iob()
MSVCRT___iob_func
@ cdecl __p__iob()
@ stub __p__mbcasemap()
@ cdecl __p__mbctype()
@ stub __p__osplatform
...
...
dlls/msvcr90/Makefile.in
View file @
ca501174
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/msvcr90/msvcr90.spec
View file @
ca501174
...
...
@@ -222,7 +222,7 @@
@ stub __get_tlsindex
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __iob_func()
__p__iob
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
...
@@ -269,7 +269,7 @@
@ cdecl __p__dstbias() MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode() MSVCRT___p__fmode
@ cdecl __p__iob()
MSVCRT___iob_func
@ cdecl __p__iob()
@ stub __p__mbcasemap()
@ cdecl __p__mbctype()
@ cdecl __p__pctype() MSVCRT___p__pctype
...
...
dlls/msvcrt/Makefile.in
View file @
ca501174
...
...
@@ -19,6 +19,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/msvcrt/file.c
View file @
ca501174
...
...
@@ -779,22 +779,14 @@ static int msvcrt_int_to_base32_w(int num, MSVCRT_wchar_t *str)
}
/*********************************************************************
* __
iob_func
(MSVCRT.@)
* __
p__iob
(MSVCRT.@)
*/
MSVCRT_FILE
*
CDECL
MSVCRT___iob_func
(
void
)
MSVCRT_FILE
*
CDECL
__p__iob
(
void
)
{
return
&
MSVCRT__iob
[
0
];
}
/*********************************************************************
* __acrt_iob_func(UCRTBASE.@)
*/
MSVCRT_FILE
*
CDECL
MSVCRT___acrt_iob_func
(
unsigned
idx
)
{
return
&
MSVCRT__iob
[
idx
];
}
/*********************************************************************
* _access (MSVCRT.@)
*/
int
CDECL
MSVCRT__access
(
const
char
*
filename
,
int
mode
)
...
...
dlls/msvcrt/iob.c
0 → 100644
View file @
ca501174
/*
* acrt function needed for compatibility with mingw
*
* Copyright 2019 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* this function is part of the import lib for compatibility with the Mingw runtime */
#if 0
#pragma makedep implib
#endif
#include "msvcrt.h"
extern
MSVCRT_FILE
*
CDECL
__p__iob
(
void
);
/*********************************************************************
* __acrt_iob_func(UCRTBASE.@)
*/
MSVCRT_FILE
*
CDECL
__acrt_iob_func
(
unsigned
idx
)
{
return
__p__iob
()
+
idx
;
}
dlls/msvcrt/msvcrt.spec
View file @
ca501174
...
...
@@ -197,7 +197,6 @@
@ cdecl ___mb_cur_max_func() MSVCRT____mb_cur_max_func
@ cdecl ___setlc_active_func() MSVCRT____setlc_active_func
@ cdecl ___unguarded_readlc_active_add_func() MSVCRT____unguarded_readlc_active_add_func
@ cdecl __acrt_iob_func(long) MSVCRT___acrt_iob_func # for compatibility with Mingw
@ extern __argc MSVCRT___argc
@ extern __argv MSVCRT___argv
@ extern __badioinfo MSVCRT___badioinfo
...
...
@@ -215,7 +214,7 @@
@ stub __get_app_type
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ extern __initenv MSVCRT___initenv
@ cdecl __iob_func()
MSVCRT___iob_func
@ cdecl __iob_func()
__p__iob
@ cdecl __isascii(long) MSVCRT___isascii
@ cdecl __iscsym(long) MSVCRT___iscsym
@ cdecl __iscsymf(long) MSVCRT___iscsymf
...
...
@@ -260,7 +259,7 @@
@ cdecl __p__environ() MSVCRT___p__environ
@ stub __p__fileinfo()
@ cdecl __p__fmode() MSVCRT___p__fmode
@ cdecl __p__iob()
MSVCRT___iob_func
@ cdecl __p__iob()
@ stub __p__mbcasemap()
@ cdecl __p__mbctype()
@ cdecl __p__osver()
...
...
dlls/ucrtbase/Makefile.in
View file @
ca501174
...
...
@@ -20,6 +20,7 @@ C_SRCS = \
exit.c
\
file.c
\
heap.c
\
iob.c
\
locale.c
\
lock.c
\
main.c
\
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
ca501174
...
...
@@ -72,7 +72,7 @@
@ cdecl ___lc_locale_name_func()
@ cdecl ___mb_cur_max_func() MSVCRT____mb_cur_max_func
@ cdecl ___mb_cur_max_l_func(ptr)
@ cdecl __acrt_iob_func(long)
MSVCRT___acrt_iob_func
@ cdecl __acrt_iob_func(long)
@ cdecl __conio_common_vcprintf(int64 str ptr ptr) MSVCRT__conio_common_vcprintf
@ stub __conio_common_vcprintf_p
@ stub __conio_common_vcprintf_s
...
...
@@ -758,7 +758,7 @@
@ stub _o____lc_collate_cp_func
@ stub _o____lc_locale_name_func
@ stub _o____mb_cur_max_func
@ cdecl _o___acrt_iob_func(long)
MSVCRT_
__acrt_iob_func
@ cdecl _o___acrt_iob_func(long) __acrt_iob_func
@ stub _o___conio_common_vcprintf
@ stub _o___conio_common_vcprintf_p
@ stub _o___conio_common_vcprintf_s
...
...
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