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
14848306
Commit
14848306
authored
May 28, 2008
by
Jon Griffiths
Committed by
Alexandre Julliard
May 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix a test that fails on win95.
parent
09627c8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
printf.c
dlls/msvcrt/tests/printf.c
+9
-2
No files found.
dlls/msvcrt/tests/printf.c
View file @
14848306
...
...
@@ -221,8 +221,15 @@ static void test_sprintf( void )
format
=
"%I32d"
;
r
=
sprintf
(
buffer
,
format
,
1
);
ok
(
!
strcmp
(
buffer
,
"1"
),
"I32d failed
\n
"
);
ok
(
r
==
1
,
"return count wrong
\n
"
);
if
(
r
==
1
)
{
ok
(
!
strcmp
(
buffer
,
"1"
),
"I32d failed, got '%s'
\n
"
,
buffer
);
}
else
{
/* Older versions don't grok I32 format */
ok
(
r
==
4
&&
!
strcmp
(
buffer
,
"I32d"
),
"I32d failed, got '%s',%d
\n
"
,
buffer
,
r
);
}
format
=
"%I64D"
;
r
=
sprintf
(
buffer
,
format
,(
LONGLONG
)
-
1
);
...
...
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