Handle empty TZ strings at the end of new-style timzeone files correctly.
[glibc/pb-stable.git] / localedata / tst-leaks.c
blob7a4b557f59fd4a4ae83182675644c1b994b62206
1 #include <locale.h>
2 #include <mcheck.h>
4 int
5 main (void)
7 int cnt;
9 mtrace ();
11 for (cnt = 0; cnt < 100; ++cnt)
13 setlocale (LC_ALL, "de_DE.ISO-8859-1");
14 setlocale (LC_ALL, "de_DE.UTF-8");
17 return 0;