aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/bug15.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-30 20:26:38 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-30 20:26:38 +0000
commit7ba7c8291adc5ee95b9e5d8715ed3dc747abd024 (patch)
tree4fd53ff820b126d0ec57988aec457d336f1142a1 /stdio-common/bug15.c
parent886d5973b793fbb53705db7754ebfb93c1224d26 (diff)
downloadglibc-7ba7c8291adc5ee95b9e5d8715ed3dc747abd024.zip
glibc-7ba7c8291adc5ee95b9e5d8715ed3dc747abd024.tar.gz
glibc-7ba7c8291adc5ee95b9e5d8715ed3dc747abd024.tar.bz2
Update.
2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): Move to RESOLVE protected part of the header. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): Likewise. 2003-01-30 Ulrich Drepper <drepper@redhat.com> * stdio-common/Makefile (tests): Add bug15. (bug15-ENV): Define. * stdio-common/bug15.c: New file.
Diffstat (limited to 'stdio-common/bug15.c')
-rw-r--r--stdio-common/bug15.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/stdio-common/bug15.c b/stdio-common/bug15.c
new file mode 100644
index 0000000..825ca2f
--- /dev/null
+++ b/stdio-common/bug15.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <locale.h>
+
+int
+main (void)
+{
+ char buf[10];
+ setlocale (LC_ALL, "vi_VN.TCVN-5712");
+ return sprintf (buf, "%.*s", 2, "vi") != 2;
+}