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
a7a350ac
Commit
a7a350ac
authored
Oct 05, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60: Added basic_ifstream::open implementation.
parent
d534e1f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
8 deletions
+54
-8
ios.c
dlls/msvcp60/ios.c
+46
-0
msvcp60.spec
dlls/msvcp60/msvcp60.spec
+8
-8
No files found.
dlls/msvcp60/ios.c
View file @
a7a350ac
...
@@ -9693,6 +9693,29 @@ MSVCP_bool __thiscall basic_ifstream_char_is_open(const basic_ifstream_char *thi
...
@@ -9693,6 +9693,29 @@ MSVCP_bool __thiscall basic_ifstream_char_is_open(const basic_ifstream_char *thi
return
basic_filebuf_char_is_open
(
&
this
->
filebuf
);
return
basic_filebuf_char_is_open
(
&
this
->
filebuf
);
}
}
/* ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXPBDH@Z */
/* ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXPEBDH@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ifstream_char_open
,
12
)
void
__thiscall
basic_ifstream_char_open
(
basic_ifstream_char
*
this
,
const
char
*
name
,
int
mode
)
{
TRACE
(
"(%p %s %d)
\n
"
,
this
,
name
,
mode
);
if
(
!
basic_filebuf_char_open
(
&
this
->
filebuf
,
name
,
mode
|
OPENMODE_in
,
_SH_DENYNO
))
{
basic_ios_char
*
basic_ios
=
basic_istream_char_get_basic_ios
(
&
this
->
base
);
basic_ios_char_setstate
(
basic_ios
,
IOSTATE_failbit
);
}
}
/* ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXPBDF@Z */
/* ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXPEBDF@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ifstream_char_open_old
,
12
)
void
__thiscall
basic_ifstream_char_open_old
(
basic_ifstream_char
*
this
,
const
char
*
name
,
short
mode
)
{
basic_ifstream_char_open
(
this
,
name
,
mode
);
}
/* ?rdbuf@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_filebuf@DU?$char_traits@D@std@@@2@XZ */
/* ?rdbuf@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_filebuf@DU?$char_traits@D@std@@@2@XZ */
/* ?rdbuf@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEBAPEAV?$basic_filebuf@DU?$char_traits@D@std@@@2@XZ */
/* ?rdbuf@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEBAPEAV?$basic_filebuf@DU?$char_traits@D@std@@@2@XZ */
DEFINE_THISCALL_WRAPPER
(
basic_ifstream_char_rdbuf
,
4
)
DEFINE_THISCALL_WRAPPER
(
basic_ifstream_char_rdbuf
,
4
)
...
@@ -9821,6 +9844,29 @@ MSVCP_bool __thiscall basic_ifstream_wchar_is_open(const basic_ifstream_wchar *t
...
@@ -9821,6 +9844,29 @@ MSVCP_bool __thiscall basic_ifstream_wchar_is_open(const basic_ifstream_wchar *t
return
basic_filebuf_wchar_is_open
(
&
this
->
filebuf
);
return
basic_filebuf_wchar_is_open
(
&
this
->
filebuf
);
}
}
/* ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QAEXPBDH@Z */
/* ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDH@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ifstream_wchar_open
,
12
)
void
__thiscall
basic_ifstream_wchar_open
(
basic_ifstream_wchar
*
this
,
const
char
*
name
,
int
mode
)
{
TRACE
(
"(%p %s %d)
\n
"
,
this
,
name
,
mode
);
if
(
!
basic_filebuf_wchar_open
(
&
this
->
filebuf
,
name
,
mode
|
OPENMODE_in
,
_SH_DENYNO
))
{
basic_ios_wchar
*
basic_ios
=
basic_istream_wchar_get_basic_ios
(
&
this
->
base
);
basic_ios_wchar_setstate
(
basic_ios
,
IOSTATE_failbit
);
}
}
/* ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QAEXPBDF@Z */
/* ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDF@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ifstream_wchar_open_old
,
12
)
void
__thiscall
basic_ifstream_wchar_open_old
(
basic_ifstream_wchar
*
this
,
const
char
*
name
,
short
mode
)
{
basic_ifstream_wchar_open
(
this
,
name
,
mode
);
}
/* ?rdbuf@?$basic_ifstream@_WU?$char_traits@_W@std@@@std@@QBEPAV?$basic_filebuf@_WU?$char_traits@_W@std@@@2@XZ */
/* ?rdbuf@?$basic_ifstream@_WU?$char_traits@_W@std@@@std@@QBEPAV?$basic_filebuf@_WU?$char_traits@_W@std@@@2@XZ */
/* ?rdbuf@?$basic_ifstream@_WU?$char_traits@_W@std@@@std@@QEBAPEAV?$basic_filebuf@_WU?$char_traits@_W@std@@@2@XZ */
/* ?rdbuf@?$basic_ifstream@_WU?$char_traits@_W@std@@@std@@QEBAPEAV?$basic_filebuf@_WU?$char_traits@_W@std@@@2@XZ */
/* ?rdbuf@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QBEPAV?$basic_filebuf@GU?$char_traits@G@std@@@2@XZ */
/* ?rdbuf@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QBEPAV?$basic_filebuf@GU?$char_traits@G@std@@@2@XZ */
...
...
dlls/msvcp60/msvcp60.spec
View file @
a7a350ac
...
@@ -3514,14 +3514,14 @@
...
@@ -3514,14 +3514,14 @@
@ stub -arch=win64 ?open@?$basic_fstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDF@Z
@ stub -arch=win64 ?open@?$basic_fstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDF@Z
@ stub -arch=win32 ?open@?$basic_fstream@GU?$char_traits@G@std@@@std@@QAEXPBDH@Z
@ stub -arch=win32 ?open@?$basic_fstream@GU?$char_traits@G@std@@@std@@QAEXPBDH@Z
@ stub -arch=win64 ?open@?$basic_fstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDH@Z
@ stub -arch=win64 ?open@?$basic_fstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDH@Z
@
stub -arch=win32 ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXPBDF@Z
@
thiscall -arch=win32 ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXPBDF@Z(ptr str long) basic_ifstream_char_open_old
@
stub -arch=win64 ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXPEBDF@Z
@
cdecl -arch=win64 ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXPEBDF@Z(ptr str long) basic_ifstream_char_open_old
@
stub -arch=win32 ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXPBDH@Z
@
thiscall -arch=win32 ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXPBDH@Z(ptr str long) basic_ifstream_char_open
@
stub -arch=win64 ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXPEBDH@Z
@
cdecl -arch=win64 ?open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXPEBDH@Z(ptr str long) basic_ifstream_char_open
@
stub -arch=win32 ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QAEXPBDF@Z
@
thiscall -arch=win32 ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QAEXPBDF@Z(ptr str long) basic_ifstream_wchar_open_old
@
stub -arch=win64 ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDF@Z
@
cdecl -arch=win64 ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDF@Z(ptr str long) basic_ifstream_wchar_open_old
@
stub -arch=win32 ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QAEXPBDH@Z
@
thiscall -arch=win32 ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QAEXPBDH@Z(ptr str long) basic_ifstream_wchar_open
@
stub -arch=win64 ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDH@Z
@
cdecl -arch=win64 ?open@?$basic_ifstream@GU?$char_traits@G@std@@@std@@QEAAXPEBDH@Z(ptr str long) basic_ifstream_wchar_open
@ stub -arch=win32 ?open@?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXPBDF@Z
@ stub -arch=win32 ?open@?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXPBDF@Z
@ stub -arch=win64 ?open@?$basic_ofstream@DU?$char_traits@D@std@@@std@@QEAAXPEBDF@Z
@ stub -arch=win64 ?open@?$basic_ofstream@DU?$char_traits@D@std@@@std@@QEAAXPEBDF@Z
@ stub -arch=win32 ?open@?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXPBDH@Z
@ stub -arch=win32 ?open@?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXPBDH@Z
...
...
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