This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The new test ./localedata/tst-sscanf.s attempts to set locale fa_IR. this locale is not built internal to glibc for make check (fa_IR.UTF-8 is) and the LOCPATH is not set. This patch sets tst-sscanf-ENV in the Makefile and changes tst-sscanf.c to use fa_IR.UTF-8.
2007-03-07 Steven Munroe <sjmunroe@us.ibm.com>
* localedata/Makefile: Define tst-sscanf-ENV
* localedata/tst-sscanf.c: Use fa_IR.UTF-8 which exists internally.
diff -urN libc25-cvstip-20070307/localedata/Makefile libc25/localedata/Makefile
--- libc25-cvstip-20070307/localedata/Makefile 2007-02-18 22:40:43.000000000 -0600
+++ libc25/localedata/Makefile 2007-03-07 14:28:56.630826704 -0600
@@ -289,6 +289,8 @@
bug-iconv-trans-ENV = LOCPATH=$(common-objpfx)localedata
+tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata
+
tst-leaks-ENV = MALLOC_TRACE=$(objpfx)tst-leaks.mtrace \
LOCPATH=$(common-objpfx)localedata
$(objpfx)mtrace-tst-leaks: $(objpfx)tst-leaks.out
diff -urN libc25-cvstip-20070307/localedata/tst-sscanf.c libc25/localedata/tst-sscanf.c
--- libc25-cvstip-20070307/localedata/tst-sscanf.c 2007-02-18 22:40:13.000000000 -0600
+++ libc25/localedata/tst-sscanf.c 2007-03-07 14:29:13.047861688 -0600
@@ -36,7 +36,7 @@
static int
do_test (void)
{
- if (setlocale (LC_ALL, "fa_IR") == NULL)
+ if (setlocale (LC_ALL, "fa_IR.UTF-8") == NULL)
{
puts ("cannot set fa_IR locale");
return 1;
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |