diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-06-27 07:59:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-06-27 07:59:20 +0000 |
commit | 7bcad280635fa97b7929f3427284cf5189363e95 (patch) | |
tree | 98469f126b629bc4bd91fc46df6a46113c2dbfcf /localedata/tst-leaks.c | |
parent | 73111f03f837d13865a38e3a3aa3ad75e02f819c (diff) | |
download | glibc-7bcad280635fa97b7929f3427284cf5189363e95.tar glibc-7bcad280635fa97b7929f3427284cf5189363e95.tar.gz glibc-7bcad280635fa97b7929f3427284cf5189363e95.tar.bz2 glibc-7bcad280635fa97b7929f3427284cf5189363e95.zip |
Update.
2001-06-27 Ulrich Drepper <drepper@redhat.com>
* posix/tst-regex.c: Fix several bugs. Add more tests.
Diffstat (limited to 'localedata/tst-leaks.c')
-rw-r--r-- | localedata/tst-leaks.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/localedata/tst-leaks.c b/localedata/tst-leaks.c new file mode 100644 index 0000000000..7a4b557f59 --- /dev/null +++ b/localedata/tst-leaks.c @@ -0,0 +1,18 @@ +#include <locale.h> +#include <mcheck.h> + +int +main (void) +{ + int cnt; + + mtrace (); + + for (cnt = 0; cnt < 100; ++cnt) + { + setlocale (LC_ALL, "de_DE.ISO-8859-1"); + setlocale (LC_ALL, "de_DE.UTF-8"); + } + + return 0; +} |