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
5b073263
Commit
5b073263
authored
Aug 10, 2015
by
YongHao Hu
Committed by
Alexandre Julliard
Aug 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp110: Add tr2_sys__Remove_dir_wchar implementation and test.
parent
2b195699
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
9 deletions
+22
-9
msvcp110.spec
dlls/msvcp110/msvcp110.spec
+2
-2
msvcp120.spec
dlls/msvcp120/msvcp120.spec
+2
-2
msvcp120.c
dlls/msvcp120/tests/msvcp120.c
+8
-3
msvcp120_app.spec
dlls/msvcp120_app/msvcp120_app.spec
+2
-2
ios.c
dlls/msvcp90/ios.c
+8
-0
No files found.
dlls/msvcp110/msvcp110.spec
View file @
5b073263
...
...
@@ -1720,8 +1720,8 @@
@ stub -arch=win64 ?_Release@_Pad@std@@QEAAXXZ
@ cdecl -arch=win32 ?_Remove_dir@sys@tr2@std@@YA_NPBD@Z(str) tr2_sys__Remove_dir
@ cdecl -arch=win64 ?_Remove_dir@sys@tr2@std@@YA_NPEBD@Z(str) tr2_sys__Remove_dir
@
stub -arch=win32 ?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z
@
stub -arch=win64 ?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z
@
cdecl -arch=win32 ?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z(wstr) tr2_sys__Remove_dir_wchar
@
cdecl -arch=win64 ?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z(wstr) tr2_sys__Remove_dir_wchar
@ cdecl -arch=win32 ?_Rename@sys@tr2@std@@YAHPBD0@Z(str str) tr2_sys__Rename
@ cdecl -arch=win64 ?_Rename@sys@tr2@std@@YAHPEBD0@Z(str str) tr2_sys__Rename
@ stub -arch=win32 ?_Rename@sys@tr2@std@@YAHPB_W0@Z
...
...
dlls/msvcp120/msvcp120.spec
View file @
5b073263
...
...
@@ -1681,8 +1681,8 @@
@ stub -arch=win64 ?_Release@_Pad@std@@QEAAXXZ
@ cdecl -arch=win32 ?_Remove_dir@sys@tr2@std@@YA_NPBD@Z(str) tr2_sys__Remove_dir
@ cdecl -arch=win64 ?_Remove_dir@sys@tr2@std@@YA_NPEBD@Z(str) tr2_sys__Remove_dir
@
stub -arch=win32 ?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z
@
stub -arch=win64 ?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z
@
cdecl -arch=win32 ?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z(wstr) tr2_sys__Remove_dir_wchar
@
cdecl -arch=win64 ?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z(wstr) tr2_sys__Remove_dir_wchar
@ cdecl -arch=win32 ?_Rename@sys@tr2@std@@YAHPBD0@Z(str str) tr2_sys__Rename
@ cdecl -arch=win64 ?_Rename@sys@tr2@std@@YAHPEBD0@Z(str str) tr2_sys__Rename
@ stub -arch=win32 ?_Rename@sys@tr2@std@@YAHPB_W0@Z
...
...
dlls/msvcp120/tests/msvcp120.c
View file @
5b073263
...
...
@@ -83,6 +83,7 @@ static MSVCP_bool (__cdecl *p_tr2_sys__Current_set_wchar)(WCHAR const*);
static
int
(
__cdecl
*
p_tr2_sys__Make_dir
)(
char
const
*
);
static
int
(
__cdecl
*
p_tr2_sys__Make_dir_wchar
)(
WCHAR
const
*
);
static
MSVCP_bool
(
__cdecl
*
p_tr2_sys__Remove_dir
)(
char
const
*
);
static
MSVCP_bool
(
__cdecl
*
p_tr2_sys__Remove_dir_wchar
)(
WCHAR
const
*
);
static
int
(
__cdecl
*
p_tr2_sys__Copy_file
)(
char
const
*
,
char
const
*
,
MSVCP_bool
);
static
int
(
__cdecl
*
p_tr2_sys__Rename
)(
char
const
*
,
char
const
*
);
static
struct
space_info
(
__cdecl
*
p_tr2_sys__Statvfs
)(
char
const
*
);
...
...
@@ -138,6 +139,8 @@ static BOOL init(void)
"?_Make_dir@sys@tr2@std@@YAHPEB_W@Z"
);
SET
(
p_tr2_sys__Remove_dir
,
"?_Remove_dir@sys@tr2@std@@YA_NPEBD@Z"
);
SET
(
p_tr2_sys__Remove_dir_wchar
,
"?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z"
);
SET
(
p_tr2_sys__Copy_file
,
"?_Copy_file@sys@tr2@std@@YAHPEBD0_N@Z"
);
SET
(
p_tr2_sys__Rename
,
...
...
@@ -171,6 +174,8 @@ static BOOL init(void)
"?_Make_dir@sys@tr2@std@@YAHPB_W@Z"
);
SET
(
p_tr2_sys__Remove_dir
,
"?_Remove_dir@sys@tr2@std@@YA_NPBD@Z"
);
SET
(
p_tr2_sys__Remove_dir_wchar
,
"?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z"
);
SET
(
p_tr2_sys__Copy_file
,
"?_Copy_file@sys@tr2@std@@YAHPBD0_N@Z"
);
SET
(
p_tr2_sys__Rename
,
...
...
@@ -427,7 +432,7 @@ static void test_tr2_sys__File_size(void)
ok
(
DeleteFileA
(
"tr2_test_dir/f1"
),
"expect tr2_test_dir/f1 to exist
\n
"
);
ok
(
DeleteFileA
(
"tr2_test_dir/f2"
),
"expect tr2_test_dir/f2 to exist
\n
"
);
ok
(
RemoveDirectoryA
(
"tr2_test_dir"
),
"expect tr2_test_dir to exist
\n
"
);
ok
(
p_tr2_sys__Remove_dir
(
"tr2_test_dir"
),
"expect tr2_test_dir to exist
\n
"
);
}
static
void
test_tr2_sys__Equivalent
(
void
)
...
...
@@ -586,8 +591,8 @@ static void test_tr2_sys__Make_dir(void)
ret
=
p_tr2_sys__Make_dir_wchar
(
testW
);
ok
(
ret
==
1
,
"tr2_sys__Make_dir(): expect: 1, got %d
\n
"
,
ret
);
ok
(
RemoveDirectoryA
(
"tr2_test_dir"
),
"expect tr2_test_dir to exist
\n
"
);
ok
(
RemoveDirectoryW
(
testW
),
"expect wd to exist
\n
"
);
ok
(
p_tr2_sys__Remove_dir
(
"tr2_test_dir"
),
"expect tr2_test_dir to exist
\n
"
);
ok
(
p_tr2_sys__Remove_dir_wchar
(
testW
),
"expect wd to exist
\n
"
);
}
static
void
test_tr2_sys__Remove_dir
(
void
)
...
...
dlls/msvcp120_app/msvcp120_app.spec
View file @
5b073263
...
...
@@ -1681,8 +1681,8 @@
@ stub -arch=win64 ?_Release@_Pad@std@@QEAAXXZ
@ cdecl -arch=win32 ?_Remove_dir@sys@tr2@std@@YA_NPBD@Z(str) msvcp120.?_Remove_dir@sys@tr2@std@@YA_NPBD@Z
@ cdecl -arch=win64 ?_Remove_dir@sys@tr2@std@@YA_NPEBD@Z(str) msvcp120.?_Remove_dir@sys@tr2@std@@YA_NPEBD@Z
@
stub -arch=win32
?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z
@
stub -arch=win64
?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z
@
cdecl -arch=win32 ?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z(wstr) msvcp120.
?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z
@
cdecl -arch=win64 ?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z(wstr) msvcp120.
?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z
@ cdecl -arch=win32 ?_Rename@sys@tr2@std@@YAHPBD0@Z(str str) msvcp120.?_Rename@sys@tr2@std@@YAHPBD0@Z
@ cdecl -arch=win64 ?_Rename@sys@tr2@std@@YAHPEBD0@Z(str str) msvcp120.?_Rename@sys@tr2@std@@YAHPEBD0@Z
@ stub -arch=win32 ?_Rename@sys@tr2@std@@YAHPB_W0@Z
...
...
dlls/msvcp90/ios.c
View file @
5b073263
...
...
@@ -14825,6 +14825,14 @@ int __cdecl tr2_sys__Make_dir_wchar(WCHAR const* path)
return
1
;
}
/* ?_Remove_dir@sys@tr2@std@@YA_NPB_W@Z */
/* ?_Remove_dir@sys@tr2@std@@YA_NPEB_W@Z */
MSVCP_bool
__cdecl
tr2_sys__Remove_dir_wchar
(
WCHAR
const
*
path
)
{
TRACE
(
"(%s)
\n
"
,
debugstr_w
(
path
));
return
RemoveDirectoryW
(
path
)
!=
0
;
}
/* ??1_Winit@std@@QAE@XZ */
/* ??1_Winit@std@@QAE@XZ */
DEFINE_THISCALL_WRAPPER
(
_Winit_dtor
,
4
)
...
...
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