about summary refs log tree commit diff
path: root/locale/programs/locale-spec.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-20 22:08:01 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-20 22:08:01 +0000
commitb06c53e77dd2f6598ac8c45fa8f021db1bc17145 (patch)
tree152a936d40224a7ddb60177347650a5d3726ca10 /locale/programs/locale-spec.c
parent9197f26fd5948b29616a4183c00d8e2898712a05 (diff)
downloadglibc-b06c53e77dd2f6598ac8c45fa8f021db1bc17145.tar.gz
glibc-b06c53e77dd2f6598ac8c45fa8f021db1bc17145.tar.xz
glibc-b06c53e77dd2f6598ac8c45fa8f021db1bc17145.zip
Update.
1999-12-20  Ulrich Drepper  <drepper@cygnus.com>

	* locale/categories.def: Remove most of the collate definitions.
	* locale/langinfo.h: Comment out corresponding definitions.
	* locale/programs/locale-spec.c (locale_special): Don't recognize the
	collate names yet.
	* locale/programs/ld-collate.c: Correct and optimize computation of
	weights.  Set up list of all definitions correctly.  Start writing
	function to generate output file.

	* locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
	loop to compute default mapping.
Diffstat (limited to 'locale/programs/locale-spec.c')
-rw-r--r--locale/programs/locale-spec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/locale-spec.c b/locale/programs/locale-spec.c
index 368306c1c6..048dead683 100644
--- a/locale/programs/locale-spec.c
+++ b/locale/programs/locale-spec.c
@@ -36,6 +36,7 @@ void
 locale_special (const char *name, int show_category_name,
 		int show_keyword_name)
 {
+#if 0
   /* "collate-elements": print collation elements of locale.  */
   if (strcmp (name, "collate-elements") == 0)
     {
@@ -59,7 +60,6 @@ locale_special (const char *name, int show_category_name,
 		printf ("%s<%s>", first ? "" : ";",
 			&__collate_element_strings[idx]);
 
-#if 0
 		/* We don't print the string.  This is only confusing
 		   because only the programs have to know the
 		   encoding.  The code is left in place because it
@@ -85,7 +85,6 @@ locale_special (const char *name, int show_category_name,
 
 		  putchar ('"');
 		}
-#endif
 		first = 0;
 	      }
 	}
@@ -125,4 +124,5 @@ locale_special (const char *name, int show_category_name,
       putchar ('\n');
       return;
     }
+#endif
 }