This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A patch for locale/programs/charmap.c


Locale data in VSX-PCT have

<code_set_name>		"foobar"


-- 
H.J. Lu (hjl@gnu.org)
---
Sat Oct 24 18:28:45 1998  H.J. Lu  <hjl@gnu.org>

	* locale/programs/charmap.c (parse_charmap): Accept tok_string
	for <code_set_name>.

Index: locale/programs/charmap.c
===================================================================
RCS file: /home/work/cvs/gnu/glibc/locale/programs/charmap.c,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 charmap.c
--- charmap.c	1998/05/01 15:56:53	1.1.1.8
+++ charmap.c	1998/10/19 21:31:54
@@ -290,7 +290,7 @@
 	  switch (nowtok)
 	    {
 	    case tok_code_set_name:
-	      if (arg->tok != tok_ident)
+	      if (arg->tok != tok_ident && arg->tok != tok_string)
 		{
 		badarg:
 		  lr_error (cmfile, _("syntax error in prolog: %s"),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]