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
e79b0fd7
Commit
e79b0fd7
authored
Apr 11, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcirt: Rename clog variable to avoid conflict with builtin function.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
403674a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
msvcirt.c
dlls/msvcirt/msvcirt.c
+9
-9
msvcirt.spec
dlls/msvcirt/msvcirt.spec
+1
-1
No files found.
dlls/msvcirt/msvcirt.c
View file @
e79b0fd7
...
...
@@ -332,7 +332,7 @@ struct {
struct
{
ostream
os
;
ios
vbase
;
}
cout
=
{
{
0
}
},
cerr
=
{
{
0
}
},
clog
=
{
{
0
}
};
}
cout
=
{
{
0
}
},
cerr
=
{
{
0
}
},
MSVCP_
clog
=
{
{
0
}
};
/* ??0streambuf@@IAE@PADH@Z */
...
...
@@ -4455,11 +4455,11 @@ void __cdecl ios_sync_with_stdio(void)
if
((
new_buf
=
MSVCRT_operator_new
(
sizeof
(
stdiobuf
))))
{
stdiobuf_file_ctor
(
new_buf
,
stderr
);
stdiobuf_setrwbuf
(
new_buf
,
0
,
512
);
ostream_assign_sb
(
&
clog
.
os
,
&
new_buf
->
base
);
ostream_assign_sb
(
&
MSVCP_
clog
.
os
,
&
new_buf
->
base
);
}
else
ostream_assign_sb
(
&
clog
.
os
,
NULL
);
clog
.
vbase
.
delbuf
=
1
;
ios_setf
(
&
clog
.
vbase
,
FLAGS_stdio
);
ostream_assign_sb
(
&
MSVCP_
clog
.
os
,
NULL
);
MSVCP_
clog
.
vbase
.
delbuf
=
1
;
ios_setf
(
&
MSVCP_
clog
.
vbase
,
FLAGS_stdio
);
}
}
...
...
@@ -4555,10 +4555,10 @@ static void init_io(void *base)
if
((
fb
=
MSVCRT_operator_new
(
sizeof
(
filebuf
))))
{
filebuf_fd_ctor
(
fb
,
2
);
ostream_withassign_sb_ctor
(
&
clog
.
os
,
&
fb
->
base
,
TRUE
);
ostream_withassign_sb_ctor
(
&
MSVCP_
clog
.
os
,
&
fb
->
base
,
TRUE
);
}
else
ostream_withassign_sb_ctor
(
&
clog
.
os
,
NULL
,
TRUE
);
Iostream_init_ios_ctor
(
NULL
,
&
clog
.
vbase
,
0
);
ostream_withassign_sb_ctor
(
&
MSVCP_
clog
.
os
,
NULL
,
TRUE
);
Iostream_init_ios_ctor
(
NULL
,
&
MSVCP_
clog
.
vbase
,
0
);
}
static
void
free_io
(
void
)
...
...
@@ -4567,7 +4567,7 @@ static void free_io(void)
istream_vbase_dtor
(
&
cin
.
is
);
ostream_vbase_dtor
(
&
cout
.
os
);
ostream_vbase_dtor
(
&
cerr
.
os
);
ostream_vbase_dtor
(
&
clog
.
os
);
ostream_vbase_dtor
(
&
MSVCP_
clog
.
os
);
}
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
...
...
dlls/msvcirt/msvcirt.spec
View file @
e79b0fd7
...
...
@@ -423,7 +423,7 @@
@ extern ?cin@@3Vistream_withassign@@A cin
@ thiscall -arch=win32 ?clear@ios@@QAEXH@Z(ptr long) ios_clear
@ cdecl -arch=win64 ?clear@ios@@QEAAXH@Z(ptr long) ios_clear
@ extern ?clog@@3Vostream_withassign@@A clog
@ extern ?clog@@3Vostream_withassign@@A
MSVCP_
clog
@ thiscall -arch=win32 ?close@filebuf@@QAEPAV1@XZ(ptr) filebuf_close
@ cdecl -arch=win64 ?close@filebuf@@QEAAPEAV1@XZ(ptr) filebuf_close
@ stub -arch=win32 ?close@fstream@@QAEXXZ # void __thiscall fstream::close(void)
...
...
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