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
16c3f341
Commit
16c3f341
authored
Oct 28, 2003
by
Uwe Bonnes
Committed by
Alexandre Julliard
Oct 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another difference in the printf family.
parent
dc969d47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
scanf.c
dlls/msvcrt/tests/scanf.c
+6
-0
No files found.
dlls/msvcrt/tests/scanf.c
View file @
16c3f341
...
@@ -78,12 +78,18 @@ static void test_sscanf( void )
...
@@ -78,12 +78,18 @@ static void test_sscanf( void )
static
void
test_sprintf
(
void
)
static
void
test_sprintf
(
void
)
{
{
char
buffer
[
100
];
char
buffer
[
100
];
const
char
*
I64d
=
"%I64d"
;
double
pnumber
=
789456123
;
double
pnumber
=
789456123
;
sprintf
(
buffer
,
"%+#23.15e"
,
pnumber
);
sprintf
(
buffer
,
"%+#23.15e"
,
pnumber
);
todo_wine
todo_wine
{
{
ok
(
strstr
(
buffer
,
"e+008"
)
!=
0
,
"Sprintf different
\"
%s
\"\n
"
,
buffer
);
ok
(
strstr
(
buffer
,
"e+008"
)
!=
0
,
"Sprintf different
\"
%s
\"\n
"
,
buffer
);
}
}
sprintf
(
buffer
,
I64d
,((
ULONGLONG
)
0xffffffff
)
*
0xffffffff
);
todo_wine
{
ok
(
strlen
(
buffer
)
==
19
,
"Problem with long long
\"
%s
\"\n
"
,
buffer
);
}
}
}
START_TEST
(
scanf
)
START_TEST
(
scanf
)
...
...
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