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
d568c2ac
Commit
d568c2ac
authored
Nov 17, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscvrt: Fix some undname quirks (space at the end of multi-level templates).
parent
60b096f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
cpp.c
dlls/msvcrt/tests/cpp.c
+1
-1
undname.c
dlls/msvcrt/undname.c
+3
-1
No files found.
dlls/msvcrt/tests/cpp.c
View file @
d568c2ac
...
@@ -1033,7 +1033,7 @@ static void test_demangle(void)
...
@@ -1033,7 +1033,7 @@ static void test_demangle(void)
/* 112 */
{
"?f@T@@QAEHQAY2BE@BO@CI@D@Z"
,
"public: int __thiscall T::f(char (* const)[20][30][40])"
},
/* 112 */
{
"?f@T@@QAEHQAY2BE@BO@CI@D@Z"
,
"public: int __thiscall T::f(char (* const)[20][30][40])"
},
/* 113 */
{
"?f@T@@QAEHQAY1BE@BO@$$CBD@Z"
,
"public: int __thiscall T::f(char const (* const)[20][30])"
},
/* 113 */
{
"?f@T@@QAEHQAY1BE@BO@$$CBD@Z"
,
"public: int __thiscall T::f(char const (* const)[20][30])"
},
/* 114 */
{
"??0?$Foo@U?$vector_c@H$00$01$0?1$0A@$0A@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@@mpl@boost@@@@QAE@XZ"
,
/* 114 */
{
"??0?$Foo@U?$vector_c@H$00$01$0?1$0A@$0A@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@@mpl@boost@@@@QAE@XZ"
,
"public: __thiscall Foo<struct boost::mpl::vector_c<int,1,2,-2,0,0,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647>
>::Foo<struct boost::mpl::vector_c<int,1,2,-2,0,0,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647>
>(void)"
},
"public: __thiscall Foo<struct boost::mpl::vector_c<int,1,2,-2,0,0,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647>
>::Foo<struct boost::mpl::vector_c<int,1,2,-2,0,0,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647>
>(void)"
},
};
};
int
i
,
num_test
=
(
sizeof
(
test
)
/
sizeof
(
test
[
0
]));
int
i
,
num_test
=
(
sizeof
(
test
)
/
sizeof
(
test
[
0
]));
...
...
dlls/msvcrt/undname.c
View file @
d568c2ac
...
@@ -367,6 +367,7 @@ static char* get_args(struct parsed_symbol* sym, struct array* pmt_ref, BOOL z_t
...
@@ -367,6 +367,7 @@ static char* get_args(struct parsed_symbol* sym, struct array* pmt_ref, BOOL z_t
struct
datatype_t
ct
;
struct
datatype_t
ct
;
struct
array
arg_collect
;
struct
array
arg_collect
;
char
*
args_str
=
NULL
;
char
*
args_str
=
NULL
;
char
*
last
;
unsigned
int
i
;
unsigned
int
i
;
str_array_init
(
&
arg_collect
);
str_array_init
(
&
arg_collect
);
...
@@ -402,7 +403,8 @@ static char* get_args(struct parsed_symbol* sym, struct array* pmt_ref, BOOL z_t
...
@@ -402,7 +403,8 @@ static char* get_args(struct parsed_symbol* sym, struct array* pmt_ref, BOOL z_t
args_str
=
str_printf
(
sym
,
"%s,%s"
,
args_str
,
arg_collect
.
elts
[
i
]);
args_str
=
str_printf
(
sym
,
"%s,%s"
,
args_str
,
arg_collect
.
elts
[
i
]);
}
}
if
(
close_char
==
'>'
&&
args_str
&&
args_str
[
strlen
(
args_str
)
-
1
]
==
'>'
)
last
=
args_str
?
args_str
:
arg_collect
.
elts
[
0
];
if
(
close_char
==
'>'
&&
last
[
strlen
(
last
)
-
1
]
==
'>'
)
args_str
=
str_printf
(
sym
,
"%c%s%s %c"
,
args_str
=
str_printf
(
sym
,
"%c%s%s %c"
,
open_char
,
arg_collect
.
elts
[
0
],
args_str
,
close_char
);
open_char
,
arg_collect
.
elts
[
0
],
args_str
,
close_char
);
else
else
...
...
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