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
bd610a66
Commit
bd610a66
authored
Sep 19, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60: Don't call _Eos on allocation error or 0-length string in basic_string::reserve.
parent
8aa65c79
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
string.c
dlls/msvcp60/string.c
+2
-2
No files found.
dlls/msvcp60/string.c
View file @
bd610a66
...
@@ -1714,7 +1714,7 @@ void __thiscall basic_string_char_reserve(basic_string_char *this, MSVCP_size_t
...
@@ -1714,7 +1714,7 @@ void __thiscall basic_string_char_reserve(basic_string_char *this, MSVCP_size_t
if
(
len
>
size
)
if
(
len
>
size
)
return
;
return
;
basic_string_char__Grow
(
this
,
size
,
FALSE
);
if
(
basic_string_char__Grow
(
this
,
size
,
FALSE
))
basic_string_char__Eos
(
this
,
len
);
basic_string_char__Eos
(
this
,
len
);
}
}
...
@@ -3429,7 +3429,7 @@ void __thiscall basic_string_wchar_reserve(basic_string_wchar *this, MSVCP_size_
...
@@ -3429,7 +3429,7 @@ void __thiscall basic_string_wchar_reserve(basic_string_wchar *this, MSVCP_size_
if
(
len
>
size
)
if
(
len
>
size
)
return
;
return
;
basic_string_wchar__Grow
(
this
,
size
,
FALSE
);
if
(
basic_string_wchar__Grow
(
this
,
size
,
FALSE
))
basic_string_wchar__Eos
(
this
,
len
);
basic_string_wchar__Eos
(
this
,
len
);
}
}
...
...
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