diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-27 06:41:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-27 06:41:29 +0000 |
commit | b50f38778c306b3f0ec0c3ed05acf9ce10508aa4 (patch) | |
tree | fb5b26cc02ec01c04f8573a2103b11c412aab6fc /stdio-common | |
parent | 38325923950d9dbdad735aa4bc8ce54977ef572c (diff) | |
download | glibc-b50f38778c306b3f0ec0c3ed05acf9ce10508aa4.zip glibc-b50f38778c306b3f0ec0c3ed05acf9ce10508aa4.tar.gz glibc-b50f38778c306b3f0ec0c3ed05acf9ce10508aa4.tar.bz2 |
Update.
2002-08-26 Ulrich Drepper <drepper@redhat.com>
* libio/Makefile (tests): Add bug-fopena+.
* libio/bug-fopena+.c: New file.
* stdio-common/tst-swprintf.c (main): Add casts to avoid warnings.
* locale/xlocale.c: Fix the last change. The variable still has
to end in _data.
* sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
(__libc_tsd_set): Add _data prefix to variable name.
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/tst-swprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/tst-swprintf.c b/stdio-common/tst-swprintf.c index a7e232d..e65234b 100644 --- a/stdio-common/tst-swprintf.c +++ b/stdio-common/tst-swprintf.c @@ -31,14 +31,14 @@ main (void) if (n != nexp) \ { \ printf ("swprintf (.., .., L\"%ls\", \"%ls\") return %d, not %d\n", \ - fmt, input, (int) n, (int) nexp); \ + fmt, (wchar_t*) input, (int) n, (int) nexp); \ result = 1; \ } \ else if (wcscmp (buf, exp) != 0) \ { \ printf ("\ swprintf (.., .., L\"%ls\", \"%ls\") produced \"%ls\", not \"%ls\"\n", \ - fmt, input, buf, exp ); \ + fmt, (wchar_t *) input, buf, exp ); \ result = 1; \ } |