[PATCH] Fix typo in tst-C-locale

Jakub Jelinek jakub@redhat.com
Tue Sep 3 11:30:00 GMT 2002


Hi!

2002-09-03  Jakub Jelinek  <jakub@redhat.com>

	* locale/tst-C_locale.c (run_test): Pass LC_ALL_MASK not LC_ALL to
	newlocale.

--- libc/locale/tst-C-locale.c.jj	2002-08-28 12:58:05.000000000 +0200
+++ libc/locale/tst-C-locale.c	2002-09-03 20:31:56.000000000 +0200
@@ -223,7 +223,7 @@ run_test (const char *locname)
   STRTEST (NOSTR, "");
 
   /* Test the new locale mechanisms.  */
-  loc = newlocale (LC_ALL, locname, NULL);
+  loc = newlocale (LC_ALL_MASK, locname, NULL);
   if (loc == NULL)
     {
       printf ("cannot create locale object for locale %s\n", locname);

	Jakub



More information about the Libc-hacker mailing list