summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-24 21:09:14 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-24 21:09:14 +0000
commit0e15c4b6b59de21ef1f6f446a644ac3ed041016c (patch)
tree91bf4e1cc3603968d35d99d386aa004285bd585e /libio
parentd88f7ae3e7cbef651d9c62935a501c1cd5170a7f (diff)
downloadglibc-0e15c4b6b59de21ef1f6f446a644ac3ed041016c.tar.gz
glibc-0e15c4b6b59de21ef1f6f446a644ac3ed041016c.tar.xz
glibc-0e15c4b6b59de21ef1f6f446a644ac3ed041016c.zip
Update.
2002-04-24  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-load.c (open_verify): Correct __lseek parameters.
	Patch by Simon Hildrew <simon@hildrew.net> [PR libc/3354].

2002-04-23  H.J. Lu  <hjl@gnu.org>

	* include/math.h (isfinite): Fix a typo.

2002-04-24  Ulrich Drepper  <drepper@redhat.com>

	* libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale
	which is created by the test suite.

2002-04-20  Bruno Haible  <bruno@clisp.org>

	* iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4.
	(BODY for FROM_LOOP): Fix comparisons between inptr and inend.

2002-04-20  Bruno Haible  <bruno@clisp.org>

	* iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f,
	to avoid gcc warning.

2002-04-20  Bruno Haible  <bruno@clisp.org>

	* iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask
	of data->__statep->__count.

2002-04-20  Bruno Haible  <bruno@clisp.org>

	* iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode
	tag characters.
	* iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise.

	* sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file.
	* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file.
Diffstat (limited to 'libio')
-rw-r--r--libio/bug-ungetwc2.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libio/bug-ungetwc2.c b/libio/bug-ungetwc2.c
index 07fff695af..b901fc01e3 100644
--- a/libio/bug-ungetwc2.c
+++ b/libio/bug-ungetwc2.c
@@ -6,7 +6,7 @@
 #include <locale.h>
 #include <wchar.h>
 
-const char test_locale[] = "en_US.UTF-8";
+const char test_locale[] = "de_DE.UTF-8";
 const wchar_t write_wchars[] = {L'A', 0x00C4, L'B', L'\0'};
                                 /* `0x00C4' is A with diaeresis. */
 size_t last_pos = 2;            /* Which character is last one to read. */
@@ -55,6 +55,7 @@ do_test (void)
   /* Output to the file. */
   if ((fp = fdopen (fd, "w")) == NULL)
     {
+      setlocale (LC_ALL, "C");
       fprintf (stderr, "Cannot make `%s' file.\n", fname);
       exit (EXIT_FAILURE);
     }
@@ -64,7 +65,10 @@ do_test (void)
   /* Read from the file. */
   fp = fopen (fname, "r");
   if (fp == NULL)
-    error (EXIT_FAILURE, errno, "cannot open %s", fname);
+    {
+      setlocale (LC_ALL, "C");
+      error (EXIT_FAILURE, errno, "cannot open %s", fname);
+    }
 
   printf ("%s is opened.\n", fname);