repo.or.cz
/
glibc
/
pb-stable.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty.
[glibc/pb-stable.git]
/
stdio-common
/
bug15.c
blob
825ca2f9801f181936d0582350b891ca64fc2489
1
#include <stdio.h>
2
#include <locale.h>
3
4
int
5
main
(
void
)
6
{
7
char
buf
[
10
];
8
setlocale
(
LC_ALL
,
"vi_VN.TCVN-5712"
);
9
return
sprintf
(
buf
,
"%.*s"
,
2
,
"vi"
) !=
2
;
10
}