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
df25a192
Commit
df25a192
authored
Feb 08, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
652aef30
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
46 additions
and
46 deletions
+46
-46
Makefile.in
dlls/msvcirt/Makefile.in
+1
-1
msvcirt.c
dlls/msvcirt/msvcirt.c
+15
-15
Makefile.in
dlls/msvcp100/Makefile.in
+1
-1
Makefile.in
dlls/msvcp110/Makefile.in
+1
-1
Makefile.in
dlls/msvcp120/Makefile.in
+1
-1
Makefile.in
dlls/msvcp140/Makefile.in
+1
-1
Makefile.in
dlls/msvcp60/Makefile.in
+1
-1
main.c
dlls/msvcp60/main.c
+1
-1
Makefile.in
dlls/msvcp70/Makefile.in
+1
-1
Makefile.in
dlls/msvcp71/Makefile.in
+1
-1
Makefile.in
dlls/msvcp80/Makefile.in
+1
-1
Makefile.in
dlls/msvcp90/Makefile.in
+1
-1
locale.c
dlls/msvcp90/locale.c
+10
-10
misc.c
dlls/msvcp90/misc.c
+9
-9
msvcp_main.c
dlls/msvcp90/msvcp_main.c
+1
-1
No files found.
dlls/msvcirt/Makefile.in
View file @
df25a192
MODULE
=
msvcirt.dll
MODULE
=
msvcirt.dll
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCIRT
EXTRADEFS
=
-D_MSVCIRT
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
IMPORTS
=
msvcrt
IMPORTS
=
msvcrt
...
...
dlls/msvcirt/msvcirt.c
View file @
df25a192
...
@@ -634,7 +634,7 @@ DEFINE_THISCALL_WRAPPER(streambuf_seekoff, 16)
...
@@ -634,7 +634,7 @@ DEFINE_THISCALL_WRAPPER(streambuf_seekoff, 16)
#define call_streambuf_seekoff(this, off, dir, mode) CALL_VTBL_FUNC(this, 12, streampos, (streambuf*, streamoff, ios_seek_dir, int), (this, off, dir, mode))
#define call_streambuf_seekoff(this, off, dir, mode) CALL_VTBL_FUNC(this, 12, streampos, (streambuf*, streamoff, ios_seek_dir, int), (this, off, dir, mode))
streampos
__thiscall
streambuf_seekoff
(
streambuf
*
this
,
streamoff
offset
,
ios_seek_dir
dir
,
int
mode
)
streampos
__thiscall
streambuf_seekoff
(
streambuf
*
this
,
streamoff
offset
,
ios_seek_dir
dir
,
int
mode
)
{
{
TRACE
(
"(%p %d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
TRACE
(
"(%p %
l
d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
return
EOF
;
return
EOF
;
}
}
...
@@ -643,7 +643,7 @@ streampos __thiscall streambuf_seekoff(streambuf *this, streamoff offset, ios_se
...
@@ -643,7 +643,7 @@ streampos __thiscall streambuf_seekoff(streambuf *this, streamoff offset, ios_se
DEFINE_THISCALL_WRAPPER
(
streambuf_seekpos
,
12
)
DEFINE_THISCALL_WRAPPER
(
streambuf_seekpos
,
12
)
streampos
__thiscall
streambuf_seekpos
(
streambuf
*
this
,
streampos
pos
,
int
mode
)
streampos
__thiscall
streambuf_seekpos
(
streambuf
*
this
,
streampos
pos
,
int
mode
)
{
{
TRACE
(
"(%p %d %d)
\n
"
,
this
,
pos
,
mode
);
TRACE
(
"(%p %
l
d %d)
\n
"
,
this
,
pos
,
mode
);
return
call_streambuf_seekoff
(
this
,
pos
,
SEEKDIR_beg
,
mode
);
return
call_streambuf_seekoff
(
this
,
pos
,
SEEKDIR_beg
,
mode
);
}
}
...
@@ -1181,7 +1181,7 @@ int __thiscall filebuf_overflow(filebuf *this, int c)
...
@@ -1181,7 +1181,7 @@ int __thiscall filebuf_overflow(filebuf *this, int c)
DEFINE_THISCALL_WRAPPER
(
filebuf_seekoff
,
16
)
DEFINE_THISCALL_WRAPPER
(
filebuf_seekoff
,
16
)
streampos
__thiscall
filebuf_seekoff
(
filebuf
*
this
,
streamoff
offset
,
ios_seek_dir
dir
,
int
mode
)
streampos
__thiscall
filebuf_seekoff
(
filebuf
*
this
,
streamoff
offset
,
ios_seek_dir
dir
,
int
mode
)
{
{
TRACE
(
"(%p %d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
TRACE
(
"(%p %
l
d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
if
(
call_streambuf_sync
(
&
this
->
base
)
==
EOF
)
if
(
call_streambuf_sync
(
&
this
->
base
)
==
EOF
)
return
EOF
;
return
EOF
;
return
_lseek
(
this
->
fd
,
offset
,
dir
);
return
_lseek
(
this
->
fd
,
offset
,
dir
);
...
@@ -1520,7 +1520,7 @@ streampos __thiscall strstreambuf_seekoff(strstreambuf *this, streamoff offset,
...
@@ -1520,7 +1520,7 @@ streampos __thiscall strstreambuf_seekoff(strstreambuf *this, streamoff offset,
{
{
char
*
base
[
3
];
char
*
base
[
3
];
TRACE
(
"(%p %d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
TRACE
(
"(%p %
l
d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
if
((
unsigned
int
)
dir
>
SEEKDIR_end
||
!
(
mode
&
(
OPENMODE_in
|
OPENMODE_out
)))
if
((
unsigned
int
)
dir
>
SEEKDIR_end
||
!
(
mode
&
(
OPENMODE_in
|
OPENMODE_out
)))
return
EOF
;
return
EOF
;
...
@@ -1720,7 +1720,7 @@ int __thiscall stdiobuf_pbackfail(stdiobuf *this, int c)
...
@@ -1720,7 +1720,7 @@ int __thiscall stdiobuf_pbackfail(stdiobuf *this, int c)
DEFINE_THISCALL_WRAPPER
(
stdiobuf_seekoff
,
16
)
DEFINE_THISCALL_WRAPPER
(
stdiobuf_seekoff
,
16
)
streampos
__thiscall
stdiobuf_seekoff
(
stdiobuf
*
this
,
streamoff
offset
,
ios_seek_dir
dir
,
int
mode
)
streampos
__thiscall
stdiobuf_seekoff
(
stdiobuf
*
this
,
streamoff
offset
,
ios_seek_dir
dir
,
int
mode
)
{
{
TRACE
(
"(%p %d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
TRACE
(
"(%p %
l
d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
call_streambuf_overflow
(
&
this
->
base
,
EOF
);
call_streambuf_overflow
(
&
this
->
base
,
EOF
);
if
(
fseek
(
this
->
file
,
offset
,
dir
))
if
(
fseek
(
this
->
file
,
offset
,
dir
))
return
EOF
;
return
EOF
;
...
@@ -2070,7 +2070,7 @@ LONG __thiscall ios_flags_set(ios *this, LONG flags)
...
@@ -2070,7 +2070,7 @@ LONG __thiscall ios_flags_set(ios *this, LONG flags)
{
{
LONG
prev
=
this
->
flags
;
LONG
prev
=
this
->
flags
;
TRACE
(
"(%p %x)
\n
"
,
this
,
flags
);
TRACE
(
"(%p %
l
x)
\n
"
,
this
,
flags
);
this
->
flags
=
flags
;
this
->
flags
=
flags
;
return
prev
;
return
prev
;
...
@@ -2225,7 +2225,7 @@ LONG __thiscall ios_setf(ios *this, LONG flags)
...
@@ -2225,7 +2225,7 @@ LONG __thiscall ios_setf(ios *this, LONG flags)
{
{
LONG
prev
=
this
->
flags
;
LONG
prev
=
this
->
flags
;
TRACE
(
"(%p %x)
\n
"
,
this
,
flags
);
TRACE
(
"(%p %
l
x)
\n
"
,
this
,
flags
);
ios_lock
(
this
);
ios_lock
(
this
);
this
->
flags
|=
flags
;
this
->
flags
|=
flags
;
...
@@ -2240,7 +2240,7 @@ LONG __thiscall ios_setf_mask(ios *this, LONG flags, LONG mask)
...
@@ -2240,7 +2240,7 @@ LONG __thiscall ios_setf_mask(ios *this, LONG flags, LONG mask)
{
{
LONG
prev
=
this
->
flags
;
LONG
prev
=
this
->
flags
;
TRACE
(
"(%p %
x %
x)
\n
"
,
this
,
flags
,
mask
);
TRACE
(
"(%p %
lx %l
x)
\n
"
,
this
,
flags
,
mask
);
ios_lock
(
this
);
ios_lock
(
this
);
this
->
flags
=
(
this
->
flags
&
(
~
mask
))
|
(
flags
&
mask
);
this
->
flags
=
(
this
->
flags
&
(
~
mask
))
|
(
flags
&
mask
);
...
@@ -2311,7 +2311,7 @@ LONG __thiscall ios_unsetf(ios *this, LONG flags)
...
@@ -2311,7 +2311,7 @@ LONG __thiscall ios_unsetf(ios *this, LONG flags)
{
{
LONG
prev
=
this
->
flags
;
LONG
prev
=
this
->
flags
;
TRACE
(
"(%p %x)
\n
"
,
this
,
flags
);
TRACE
(
"(%p %
l
x)
\n
"
,
this
,
flags
);
ios_lock
(
this
);
ios_lock
(
this
);
this
->
flags
&=
~
flags
;
this
->
flags
&=
~
flags
;
...
@@ -2607,7 +2607,7 @@ ostream* __thiscall ostream_seekp(ostream *this, streampos pos)
...
@@ -2607,7 +2607,7 @@ ostream* __thiscall ostream_seekp(ostream *this, streampos pos)
{
{
ios
*
base
=
ostream_get_ios
(
this
);
ios
*
base
=
ostream_get_ios
(
this
);
TRACE
(
"(%p %d)
\n
"
,
this
,
pos
);
TRACE
(
"(%p %
l
d)
\n
"
,
this
,
pos
);
ios_lockbuf
(
base
);
ios_lockbuf
(
base
);
if
(
streambuf_seekpos
(
base
->
sb
,
pos
,
OPENMODE_out
)
==
EOF
)
if
(
streambuf_seekpos
(
base
->
sb
,
pos
,
OPENMODE_out
)
==
EOF
)
...
@@ -2623,7 +2623,7 @@ ostream* __thiscall ostream_seekp_offset(ostream *this, streamoff off, ios_seek_
...
@@ -2623,7 +2623,7 @@ ostream* __thiscall ostream_seekp_offset(ostream *this, streamoff off, ios_seek_
{
{
ios
*
base
=
ostream_get_ios
(
this
);
ios
*
base
=
ostream_get_ios
(
this
);
TRACE
(
"(%p %d %d)
\n
"
,
this
,
off
,
dir
);
TRACE
(
"(%p %
l
d %d)
\n
"
,
this
,
off
,
dir
);
ios_lockbuf
(
base
);
ios_lockbuf
(
base
);
if
(
call_streambuf_seekoff
(
base
->
sb
,
off
,
dir
,
OPENMODE_out
)
==
EOF
)
if
(
call_streambuf_seekoff
(
base
->
sb
,
off
,
dir
,
OPENMODE_out
)
==
EOF
)
...
@@ -3749,7 +3749,7 @@ istream* __thiscall istream_seekg(istream *this, streampos pos)
...
@@ -3749,7 +3749,7 @@ istream* __thiscall istream_seekg(istream *this, streampos pos)
{
{
ios
*
base
=
istream_get_ios
(
this
);
ios
*
base
=
istream_get_ios
(
this
);
TRACE
(
"(%p %d)
\n
"
,
this
,
pos
);
TRACE
(
"(%p %
l
d)
\n
"
,
this
,
pos
);
ios_lockbuf
(
base
);
ios_lockbuf
(
base
);
if
(
streambuf_seekpos
(
base
->
sb
,
pos
,
OPENMODE_in
)
==
EOF
)
if
(
streambuf_seekpos
(
base
->
sb
,
pos
,
OPENMODE_in
)
==
EOF
)
...
@@ -3765,7 +3765,7 @@ istream* __thiscall istream_seekg_offset(istream *this, streamoff off, ios_seek_
...
@@ -3765,7 +3765,7 @@ istream* __thiscall istream_seekg_offset(istream *this, streamoff off, ios_seek_
{
{
ios
*
base
=
istream_get_ios
(
this
);
ios
*
base
=
istream_get_ios
(
this
);
TRACE
(
"(%p %d %d)
\n
"
,
this
,
off
,
dir
);
TRACE
(
"(%p %
l
d %d)
\n
"
,
this
,
off
,
dir
);
ios_lockbuf
(
base
);
ios_lockbuf
(
base
);
if
(
call_streambuf_seekoff
(
base
->
sb
,
off
,
dir
,
OPENMODE_in
)
==
EOF
)
if
(
call_streambuf_seekoff
(
base
->
sb
,
off
,
dir
,
OPENMODE_in
)
==
EOF
)
...
@@ -4010,7 +4010,7 @@ static LONG istream_internal_read_integer(istream *this, LONG min_value, LONG ma
...
@@ -4010,7 +4010,7 @@ static LONG istream_internal_read_integer(istream *this, LONG min_value, LONG ma
int
num_base
;
int
num_base
;
LONG
ret
;
LONG
ret
;
TRACE
(
"(%p %
d %
d %d)
\n
"
,
this
,
min_value
,
max_value
,
set_flag
);
TRACE
(
"(%p %
ld %l
d %d)
\n
"
,
this
,
min_value
,
max_value
,
set_flag
);
num_base
=
istream_getint
(
this
,
buffer
);
num_base
=
istream_getint
(
this
,
buffer
);
errno
=
0
;
errno
=
0
;
...
@@ -4035,7 +4035,7 @@ static ULONG istream_internal_read_unsigned_integer(istream *this, LONG min_valu
...
@@ -4035,7 +4035,7 @@ static ULONG istream_internal_read_unsigned_integer(istream *this, LONG min_valu
int
num_base
;
int
num_base
;
ULONG
ret
;
ULONG
ret
;
TRACE
(
"(%p %
d %
u)
\n
"
,
this
,
min_value
,
max_value
);
TRACE
(
"(%p %
ld %l
u)
\n
"
,
this
,
min_value
,
max_value
);
num_base
=
istream_getint
(
this
,
buffer
);
num_base
=
istream_getint
(
this
,
buffer
);
errno
=
0
;
errno
=
0
;
...
...
dlls/msvcp100/Makefile.in
View file @
df25a192
MODULE
=
msvcp100.dll
MODULE
=
msvcp100.dll
IMPORTS
=
msvcr100
IMPORTS
=
msvcr100
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
100
EXTRADEFS
=
-D_MSVCP_VER
=
100
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/msvcp110/Makefile.in
View file @
df25a192
MODULE
=
msvcp110.dll
MODULE
=
msvcp110.dll
IMPORTS
=
msvcr110
IMPORTS
=
msvcr110
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
110
EXTRADEFS
=
-D_MSVCP_VER
=
110
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/msvcp120/Makefile.in
View file @
df25a192
MODULE
=
msvcp120.dll
MODULE
=
msvcp120.dll
IMPORTS
=
msvcr120
IMPORTS
=
msvcr120
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
120
EXTRADEFS
=
-D_MSVCP_VER
=
120
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/msvcp140/Makefile.in
View file @
df25a192
MODULE
=
msvcp140.dll
MODULE
=
msvcp140.dll
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
140
EXTRADEFS
=
-D_MSVCP_VER
=
140
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
IMPORTLIB
=
msvcp140
IMPORTLIB
=
msvcp140
...
...
dlls/msvcp60/Makefile.in
View file @
df25a192
MODULE
=
msvcp60.dll
MODULE
=
msvcp60.dll
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
60
EXTRADEFS
=
-D_MSVCP_VER
=
60
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
IMPORTS
=
msvcrt
IMPORTS
=
msvcrt
...
...
dlls/msvcp60/main.c
View file @
df25a192
...
@@ -94,7 +94,7 @@ static void init_cxx_funcs(void)
...
@@ -94,7 +94,7 @@ static void init_cxx_funcs(void)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
{
TRACE
(
"(0x%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"(0x%p, %
l
d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
switch
(
fdwReason
)
{
{
...
...
dlls/msvcp70/Makefile.in
View file @
df25a192
MODULE
=
msvcp70.dll
MODULE
=
msvcp70.dll
IMPORTS
=
msvcr70
IMPORTS
=
msvcr70
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
70
EXTRADEFS
=
-D_MSVCP_VER
=
70
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/msvcp71/Makefile.in
View file @
df25a192
MODULE
=
msvcp71.dll
MODULE
=
msvcp71.dll
IMPORTS
=
msvcr71
IMPORTS
=
msvcr71
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
71
EXTRADEFS
=
-D_MSVCP_VER
=
71
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/msvcp80/Makefile.in
View file @
df25a192
MODULE
=
msvcp80.dll
MODULE
=
msvcp80.dll
IMPORTS
=
msvcr80
IMPORTS
=
msvcr80
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
80
EXTRADEFS
=
-D_MSVCP_VER
=
80
PARENTSRC
=
../msvcp90
PARENTSRC
=
../msvcp90
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/msvcp90/Makefile.in
View file @
df25a192
MODULE
=
msvcp90.dll
MODULE
=
msvcp90.dll
IMPORTS
=
msvcr90
IMPORTS
=
msvcr90
EXTRADEFS
=
-D
WINE_NO_LONG_TYPES
-D
_MSVCP_VER
=
90
EXTRADEFS
=
-D_MSVCP_VER
=
90
C_SRCS
=
\
C_SRCS
=
\
details.c
\
details.c
\
...
...
dlls/msvcp90/locale.c
View file @
df25a192
...
@@ -7476,7 +7476,7 @@ ostreambuf_iterator_char* __thiscall num_put_char_do_put_long(const num_put *thi
...
@@ -7476,7 +7476,7 @@ ostreambuf_iterator_char* __thiscall num_put_char_do_put_long(const num_put *thi
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
num_put_char__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
return
num_put_char__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
sprintf
(
tmp
,
num_put_char__Ifmt
(
this
,
fmt
,
"ld"
,
base
->
fmtfl
),
v
));
sprintf
(
tmp
,
num_put_char__Ifmt
(
this
,
fmt
,
"ld"
,
base
->
fmtfl
),
v
));
...
@@ -7492,7 +7492,7 @@ DEFINE_THISCALL_WRAPPER(num_put_char_put_long, 32)
...
@@ -7492,7 +7492,7 @@ DEFINE_THISCALL_WRAPPER(num_put_char_put_long, 32)
ostreambuf_iterator_char
*
__thiscall
num_put_char_put_long
(
const
num_put
*
this
,
ostreambuf_iterator_char
*
ret
,
ostreambuf_iterator_char
*
__thiscall
num_put_char_put_long
(
const
num_put
*
this
,
ostreambuf_iterator_char
*
ret
,
ostreambuf_iterator_char
dest
,
ios_base
*
base
,
char
fill
,
LONG
v
)
ostreambuf_iterator_char
dest
,
ios_base
*
base
,
char
fill
,
LONG
v
)
{
{
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
call_num_put_char_do_put_long
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
return
call_num_put_char_do_put_long
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
}
}
...
@@ -7518,7 +7518,7 @@ ostreambuf_iterator_char* __thiscall num_put_char_do_put_ulong(const num_put *th
...
@@ -7518,7 +7518,7 @@ ostreambuf_iterator_char* __thiscall num_put_char_do_put_ulong(const num_put *th
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
num_put_char__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
return
num_put_char__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
sprintf
(
tmp
,
num_put_char__Ifmt
(
this
,
fmt
,
"lu"
,
base
->
fmtfl
),
v
));
sprintf
(
tmp
,
num_put_char__Ifmt
(
this
,
fmt
,
"lu"
,
base
->
fmtfl
),
v
));
...
@@ -7534,7 +7534,7 @@ DEFINE_THISCALL_WRAPPER(num_put_char_put_ulong, 32)
...
@@ -7534,7 +7534,7 @@ DEFINE_THISCALL_WRAPPER(num_put_char_put_ulong, 32)
ostreambuf_iterator_char
*
__thiscall
num_put_char_put_ulong
(
const
num_put
*
this
,
ostreambuf_iterator_char
*
ret
,
ostreambuf_iterator_char
*
__thiscall
num_put_char_put_ulong
(
const
num_put
*
this
,
ostreambuf_iterator_char
*
ret
,
ostreambuf_iterator_char
dest
,
ios_base
*
base
,
char
fill
,
ULONG
v
)
ostreambuf_iterator_char
dest
,
ios_base
*
base
,
char
fill
,
ULONG
v
)
{
{
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
call_num_put_char_do_put_ulong
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
return
call_num_put_char_do_put_ulong
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
}
}
...
@@ -8375,7 +8375,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_wchar_do_put_long(const num_put *t
...
@@ -8375,7 +8375,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_wchar_do_put_long(const num_put *t
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
num_put_wchar__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
return
num_put_wchar__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
sprintf
(
tmp
,
num_put_wchar__Ifmt
(
this
,
fmt
,
"ld"
,
base
->
fmtfl
),
v
));
sprintf
(
tmp
,
num_put_wchar__Ifmt
(
this
,
fmt
,
"ld"
,
base
->
fmtfl
),
v
));
...
@@ -8394,7 +8394,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_short_do_put_long(const num_put *t
...
@@ -8394,7 +8394,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_short_do_put_long(const num_put *t
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
num_put_short__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
return
num_put_short__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
sprintf
(
tmp
,
num_put_wchar__Ifmt
(
this
,
fmt
,
"ld"
,
base
->
fmtfl
),
v
));
sprintf
(
tmp
,
num_put_wchar__Ifmt
(
this
,
fmt
,
"ld"
,
base
->
fmtfl
),
v
));
...
@@ -8412,7 +8412,7 @@ DEFINE_THISCALL_WRAPPER(num_put_wchar_put_long, 32)
...
@@ -8412,7 +8412,7 @@ DEFINE_THISCALL_WRAPPER(num_put_wchar_put_long, 32)
ostreambuf_iterator_wchar
*
__thiscall
num_put_wchar_put_long
(
const
num_put
*
this
,
ostreambuf_iterator_wchar
*
ret
,
ostreambuf_iterator_wchar
*
__thiscall
num_put_wchar_put_long
(
const
num_put
*
this
,
ostreambuf_iterator_wchar
*
ret
,
ostreambuf_iterator_wchar
dest
,
ios_base
*
base
,
wchar_t
fill
,
LONG
v
)
ostreambuf_iterator_wchar
dest
,
ios_base
*
base
,
wchar_t
fill
,
LONG
v
)
{
{
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
call_num_put_wchar_do_put_long
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
return
call_num_put_wchar_do_put_long
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
}
}
...
@@ -8438,7 +8438,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_wchar_do_put_ulong(const num_put *
...
@@ -8438,7 +8438,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_wchar_do_put_ulong(const num_put *
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
num_put_wchar__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
return
num_put_wchar__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
sprintf
(
tmp
,
num_put_wchar__Ifmt
(
this
,
fmt
,
"lu"
,
base
->
fmtfl
),
v
));
sprintf
(
tmp
,
num_put_wchar__Ifmt
(
this
,
fmt
,
"lu"
,
base
->
fmtfl
),
v
));
...
@@ -8457,7 +8457,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_short_do_put_ulong(const num_put *
...
@@ -8457,7 +8457,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_short_do_put_ulong(const num_put *
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
tmp
[
48
];
/* 22(8^22>2^64)*2(separators between every digit) + 3(strlen("+0x"))+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
char
fmt
[
7
];
/* strlen("%+#lld")+1 */
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
num_put_short__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
return
num_put_short__Iput
(
this
,
ret
,
dest
,
base
,
fill
,
tmp
,
sprintf
(
tmp
,
num_put_wchar__Ifmt
(
this
,
fmt
,
"lu"
,
base
->
fmtfl
),
v
));
sprintf
(
tmp
,
num_put_wchar__Ifmt
(
this
,
fmt
,
"lu"
,
base
->
fmtfl
),
v
));
...
@@ -8475,7 +8475,7 @@ DEFINE_THISCALL_WRAPPER(num_put_wchar_put_ulong, 32)
...
@@ -8475,7 +8475,7 @@ DEFINE_THISCALL_WRAPPER(num_put_wchar_put_ulong, 32)
ostreambuf_iterator_wchar
*
__thiscall
num_put_wchar_put_ulong
(
const
num_put
*
this
,
ostreambuf_iterator_wchar
*
ret
,
ostreambuf_iterator_wchar
*
__thiscall
num_put_wchar_put_ulong
(
const
num_put
*
this
,
ostreambuf_iterator_wchar
*
ret
,
ostreambuf_iterator_wchar
dest
,
ios_base
*
base
,
wchar_t
fill
,
ULONG
v
)
ostreambuf_iterator_wchar
dest
,
ios_base
*
base
,
wchar_t
fill
,
ULONG
v
)
{
{
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
TRACE
(
"(%p %p %p %d %
l
d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
call_num_put_wchar_do_put_ulong
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
return
call_num_put_wchar_do_put_ulong
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
}
}
...
...
dlls/msvcp90/misc.c
View file @
df25a192
...
@@ -1224,13 +1224,13 @@ typedef int (__cdecl *_Thrd_start_t)(void*);
...
@@ -1224,13 +1224,13 @@ typedef int (__cdecl *_Thrd_start_t)(void*);
int
__cdecl
_Thrd_equal
(
_Thrd_t
a
,
_Thrd_t
b
)
int
__cdecl
_Thrd_equal
(
_Thrd_t
a
,
_Thrd_t
b
)
{
{
TRACE
(
"(%p %
u %p %
u)
\n
"
,
a
.
hnd
,
a
.
id
,
b
.
hnd
,
b
.
id
);
TRACE
(
"(%p %
lu %p %l
u)
\n
"
,
a
.
hnd
,
a
.
id
,
b
.
hnd
,
b
.
id
);
return
a
.
id
==
b
.
id
;
return
a
.
id
==
b
.
id
;
}
}
int
__cdecl
_Thrd_lt
(
_Thrd_t
a
,
_Thrd_t
b
)
int
__cdecl
_Thrd_lt
(
_Thrd_t
a
,
_Thrd_t
b
)
{
{
TRACE
(
"(%p %
u %p %
u)
\n
"
,
a
.
hnd
,
a
.
id
,
b
.
hnd
,
b
.
id
);
TRACE
(
"(%p %
lu %p %l
u)
\n
"
,
a
.
hnd
,
a
.
id
,
b
.
hnd
,
b
.
id
);
return
a
.
id
<
b
.
id
;
return
a
.
id
<
b
.
id
;
}
}
...
@@ -1258,7 +1258,7 @@ static _Thrd_t thread_current(void)
...
@@ -1258,7 +1258,7 @@ static _Thrd_t thread_current(void)
}
}
ret
.
id
=
GetCurrentThreadId
();
ret
.
id
=
GetCurrentThreadId
();
TRACE
(
"(%p %u)
\n
"
,
ret
.
hnd
,
ret
.
id
);
TRACE
(
"(%p %
l
u)
\n
"
,
ret
.
hnd
,
ret
.
id
);
return
ret
;
return
ret
;
}
}
...
@@ -1284,7 +1284,7 @@ ULONGLONG __cdecl _Thrd_current(void)
...
@@ -1284,7 +1284,7 @@ ULONGLONG __cdecl _Thrd_current(void)
int
__cdecl
_Thrd_join
(
_Thrd_t
thr
,
int
*
code
)
int
__cdecl
_Thrd_join
(
_Thrd_t
thr
,
int
*
code
)
{
{
TRACE
(
"(%p %u %p)
\n
"
,
thr
.
hnd
,
thr
.
id
,
code
);
TRACE
(
"(%p %
l
u %p)
\n
"
,
thr
.
hnd
,
thr
.
id
,
code
);
if
(
WaitForSingleObject
(
thr
.
hnd
,
INFINITE
))
if
(
WaitForSingleObject
(
thr
.
hnd
,
INFINITE
))
return
_THRD_ERROR
;
return
_THRD_ERROR
;
...
@@ -1469,7 +1469,7 @@ void __thiscall _Pad__Release(_Pad *this)
...
@@ -1469,7 +1469,7 @@ void __thiscall _Pad__Release(_Pad *this)
BOOL
CDECL
MSVCP__crtInitializeCriticalSectionEx
(
BOOL
CDECL
MSVCP__crtInitializeCriticalSectionEx
(
CRITICAL_SECTION
*
cs
,
DWORD
spin_count
,
DWORD
flags
)
CRITICAL_SECTION
*
cs
,
DWORD
spin_count
,
DWORD
flags
)
{
{
TRACE
(
"(%p %
x %
x)
\n
"
,
cs
,
spin_count
,
flags
);
TRACE
(
"(%p %
lx %l
x)
\n
"
,
cs
,
spin_count
,
flags
);
return
InitializeCriticalSectionEx
(
cs
,
spin_count
,
flags
);
return
InitializeCriticalSectionEx
(
cs
,
spin_count
,
flags
);
}
}
...
@@ -1479,7 +1479,7 @@ BOOL CDECL MSVCP__crtInitializeCriticalSectionEx(
...
@@ -1479,7 +1479,7 @@ BOOL CDECL MSVCP__crtInitializeCriticalSectionEx(
HANDLE
CDECL
MSVCP__crtCreateEventExW
(
HANDLE
CDECL
MSVCP__crtCreateEventExW
(
SECURITY_ATTRIBUTES
*
attribs
,
LPCWSTR
name
,
DWORD
flags
,
DWORD
access
)
SECURITY_ATTRIBUTES
*
attribs
,
LPCWSTR
name
,
DWORD
flags
,
DWORD
access
)
{
{
TRACE
(
"(%p %s 0x%08
x 0x%08
x)
\n
"
,
attribs
,
debugstr_w
(
name
),
flags
,
access
);
TRACE
(
"(%p %s 0x%08
lx 0x%08l
x)
\n
"
,
attribs
,
debugstr_w
(
name
),
flags
,
access
);
return
CreateEventExW
(
attribs
,
name
,
flags
,
access
);
return
CreateEventExW
(
attribs
,
name
,
flags
,
access
);
}
}
...
@@ -1514,7 +1514,7 @@ HANDLE CDECL MSVCP__crtCreateSemaphoreExW(
...
@@ -1514,7 +1514,7 @@ HANDLE CDECL MSVCP__crtCreateSemaphoreExW(
SECURITY_ATTRIBUTES
*
attribs
,
LONG
initial_count
,
LONG
max_count
,
LPCWSTR
name
,
SECURITY_ATTRIBUTES
*
attribs
,
LONG
initial_count
,
LONG
max_count
,
LPCWSTR
name
,
DWORD
flags
,
DWORD
access
)
DWORD
flags
,
DWORD
access
)
{
{
TRACE
(
"(%p %
d %d %s 0x%08x 0x%08
x)
\n
"
,
attribs
,
initial_count
,
max_count
,
debugstr_w
(
name
),
TRACE
(
"(%p %
ld %ld %s 0x%08lx 0x%08l
x)
\n
"
,
attribs
,
initial_count
,
max_count
,
debugstr_w
(
name
),
flags
,
access
);
flags
,
access
);
return
CreateSemaphoreExW
(
attribs
,
initial_count
,
max_count
,
name
,
flags
,
access
);
return
CreateSemaphoreExW
(
attribs
,
initial_count
,
max_count
,
name
,
flags
,
access
);
}
}
...
@@ -1544,7 +1544,7 @@ VOID CDECL MSVCP__crtCloseThreadpoolTimer(TP_TIMER *timer)
...
@@ -1544,7 +1544,7 @@ VOID CDECL MSVCP__crtCloseThreadpoolTimer(TP_TIMER *timer)
VOID
CDECL
MSVCP__crtSetThreadpoolTimer
(
TP_TIMER
*
timer
,
VOID
CDECL
MSVCP__crtSetThreadpoolTimer
(
TP_TIMER
*
timer
,
FILETIME
*
due_time
,
DWORD
period
,
DWORD
window_length
)
FILETIME
*
due_time
,
DWORD
period
,
DWORD
window_length
)
{
{
TRACE
(
"(%p %p 0x%08
x 0x%08
x)
\n
"
,
timer
,
due_time
,
period
,
window_length
);
TRACE
(
"(%p %p 0x%08
lx 0x%08l
x)
\n
"
,
timer
,
due_time
,
period
,
window_length
);
return
SetThreadpoolTimer
(
timer
,
due_time
,
period
,
window_length
);
return
SetThreadpoolTimer
(
timer
,
due_time
,
period
,
window_length
);
}
}
...
@@ -1699,7 +1699,7 @@ const char* __cdecl _Syserror_map(int err)
...
@@ -1699,7 +1699,7 @@ const char* __cdecl _Syserror_map(int err)
/* ?_Winerror_message@std@@YAKKPEADK@Z */
/* ?_Winerror_message@std@@YAKKPEADK@Z */
ULONG
__cdecl
_Winerror_message
(
ULONG
err
,
char
*
buf
,
ULONG
size
)
ULONG
__cdecl
_Winerror_message
(
ULONG
err
,
char
*
buf
,
ULONG
size
)
{
{
TRACE
(
"(%
u %p %
u)
\n
"
,
err
,
buf
,
size
);
TRACE
(
"(%
lu %p %l
u)
\n
"
,
err
,
buf
,
size
);
return
FormatMessageA
(
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_IGNORE_INSERTS
,
return
FormatMessageA
(
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_IGNORE_INSERTS
,
NULL
,
err
,
0
,
buf
,
size
,
NULL
);
NULL
,
err
,
0
,
buf
,
size
,
NULL
);
...
...
dlls/msvcp90/msvcp_main.c
View file @
df25a192
...
@@ -189,7 +189,7 @@ static void init_cxx_funcs(void)
...
@@ -189,7 +189,7 @@ static void init_cxx_funcs(void)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
{
TRACE
(
"(0x%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"(0x%p, %
l
d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
switch
(
fdwReason
)
{
{
...
...
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