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
70b3e2b0
Commit
70b3e2b0
authored
Oct 16, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt/tests: Add overlapped memory move sprintf test.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
46dcaa5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
printf.c
dlls/msvcrt/tests/printf.c
+5
-0
No files found.
dlls/msvcrt/tests/printf.c
View file @
70b3e2b0
...
...
@@ -802,6 +802,11 @@ static void test_sprintf( void )
ok
(
r
==
2
,
"r = %d
\n
"
,
r
);
ok
(
!
strcmp
(
buffer
,
"
\x82\xa0
"
),
"failed:
\"
%s
\"\n
"
,
buffer
);
strcpy
(
buffer
,
" string to copy"
);
r
=
p_sprintf
(
buffer
,
buffer
+
1
);
ok
(
r
==
14
,
"r = %d
\n
"
,
r
);
ok
(
!
strcmp
(
buffer
,
"string to copy"
),
"failed:
\"
%s
\"\n
"
,
buffer
);
setlocale
(
LC_ALL
,
"C"
);
}
...
...
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