aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-17 19:22:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-17 19:22:43 +0000
commitce723583fc8c5241879dfb5c1d7f940ded72f283 (patch)
treeec364aea4e24b93088ac466f10edcf7dc63c383c /stdio-common
parent9d54e98421ecc160fc92238746651bf70f1683e1 (diff)
downloadglibc-ce723583fc8c5241879dfb5c1d7f940ded72f283.tar
glibc-ce723583fc8c5241879dfb5c1d7f940ded72f283.tar.gz
glibc-ce723583fc8c5241879dfb5c1d7f940ded72f283.tar.bz2
glibc-ce723583fc8c5241879dfb5c1d7f940ded72f283.zip
Update.
* stdio-common/tiformat.c (sprint_ints): Add tests for I flag. * libio/tst_wprintf.c (main): Add test for I flag.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/tiformat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/stdio-common/tiformat.c b/stdio-common/tiformat.c
index bce47665a7..4d2eeb3002 100644
--- a/stdio-common/tiformat.c
+++ b/stdio-common/tiformat.c
@@ -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},
};