Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 17 Jun 2000 19:22:43 +0000 (19:22 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 17 Jun 2000 19:22:43 +0000 (19:22 +0000)
* stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
* libio/tst_wprintf.c (main): Add test for I flag.

ChangeLog
libio/tst_wprintf.c
stdio-common/tiformat.c

index 1aa341a..474d77f 100644 (file)
--- a/ChangeLog
+++ b/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.
index 0838441..bf859f1 100644 (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;
 }
index bce4766..4d2eeb3 100644 (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},
 };