Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
	* stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
	* libio/tst_wprintf.c (main): Add test for I flag.
  • Loading branch information
Ulrich Drepper committed Jun 17, 2000
1 parent 9d54e98 commit ce72358
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,6 +1,8 @@
2000-06-17 Ulrich Drepper <drepper@redhat.com>

* stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
* stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
* libio/tst_wprintf.c (main): Add test for I flag.

* iconv/gconv_trans.c: Implement handling if translit_ignore.
* locale/langinfo.h: Add entries for translit_ignore information.
Expand Down
1 change: 1 addition & 0 deletions libio/tst_wprintf.c
Expand Up @@ -6,5 +6,6 @@ main (int argc, char *argv[])
{
fputws (L"Hello world!\n", stdout);
wprintf (L"This %s a %ls string: %d\n", "is", L"mixed", 42);
wprintf (L"%Iu\n", 0xfeedbeef);
return 0;
}
10 changes: 10 additions & 0 deletions stdio-common/tiformat.c
Expand Up @@ -5026,6 +5026,16 @@ sprint_int_type sprint_ints[] =
{__LINE__, 0x00000000, "", "%#.0x"},
{__LINE__, 0x00000000, "0", "%#.0o"},

{__LINE__, 0x00000000, "0", "%Id"},
{__LINE__, 0x0000000a, "10", "%Id"},
{__LINE__, 0x000000d2, "210", "%Id"},
{__LINE__, 0x00000c8a, "3210", "%Id"},
{__LINE__, 0x0000a8ca, "43210", "%Id"},
{__LINE__, 0x000849ea, "543210", "%Id"},
{__LINE__, 0x0063d76a, "6543210", "%Id"},
{__LINE__, 0x048ff4ea, "76543210", "%Id"},
{__LINE__, 0x343efcea, "876543210", "%Id"},

{0},
};

Expand Down

0 comments on commit ce72358

Please sign in to comment.