repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
.
[glibc/history.git]
/
localedata
/
tst-leaks.c
blob
7a4b557f59fd4a4ae83182675644c1b994b62206
1
#include <locale.h>
2
#include <mcheck.h>
3
4
int
5
main
(
void
)
6
{
7
int
cnt
;
8
9
mtrace
();
10
11
for
(
cnt
=
0
;
cnt
<
100
; ++
cnt
)
12
{
13
setlocale
(
LC_ALL
,
"de_DE.ISO-8859-1"
);
14
setlocale
(
LC_ALL
,
"de_DE.UTF-8"
);
15
}
16
17
return
0
;
18
}