* stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
	* libio/tst_wprintf.c (main): Add test for I flag.
This commit is contained in:
Ulrich Drepper 2000-06-17 19:22:43 +00:00
parent 9d54e98421
commit ce723583fc
3 changed files with 13 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}

View File

@ -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},
};