Commit 16c3f341 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Another difference in the printf family.

parent dc969d47
...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment