about summary refs log tree commit diff
path: root/locale/locarchive.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-15 07:02:19 +0000
committerRoland McGrath <roland@gnu.org>2002-08-15 07:02:19 +0000
commitac8f8c53f04f2aaf204f559bdaf8af43952f0273 (patch)
tree95f8c07beadcd34def7da44817daa9ba4f70033c /locale/locarchive.h
parent7c6af01254832f6201739c714db8e86b87671981 (diff)
downloadglibc-ac8f8c53f04f2aaf204f559bdaf8af43952f0273.tar.gz
glibc-ac8f8c53f04f2aaf204f559bdaf8af43952f0273.tar.xz
glibc-ac8f8c53f04f2aaf204f559bdaf8af43952f0273.zip
* locale/locarchive.h (struct locale_category_data): Give this name to
	the type of locale_data_t's elements.
	* locale/programs/locarchive.c (cmpcategorysize): New static function.
	(add_locale): Use that to sort the categories by size and put all
	those that fit into two pages into the LC_ALL block, instead of
	hard-coding it to do everything but LC_CTYPE and LC_COLLATE.
	(show_archive_content): Detect categories inside LC_ALL block
	directly, instead of hard-coding.

2002-08-14  Jakub Jelinek  <jakub@redhat.com>

	* locale/programs/locarchive.c (struct oldlocrecent): New.
	(oldlocrecentcmp): New.
	(enlarge_archive): Re-add locales in the order they were added
	to the archive.
	(add_locale): Put all the small locale files together, if the small
	locale file block would occupy less pages if page size aligned, align
	it.
	(show_archive_content): Adjust for locale archives optimized for speed.

2002-08-14  Roland McGrath  <roland@frob.com>

	* configure.in: Use "MISSING" as not-found value for MIG.
	* sysdeps/mach/configure.in: Fatal if mig not found.
	* configure, sysdeps/mach/configure: Regenerated.
Diffstat (limited to 'locale/locarchive.h')
-rw-r--r--locale/locarchive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/locarchive.h b/locale/locarchive.h
index f43a6b6734..e94bc2b480 100644
--- a/locale/locarchive.h
+++ b/locale/locarchive.h
@@ -88,7 +88,7 @@ struct locarhandle
 
 
 /* In memory data for the locales with their checksums.  */
-typedef struct
+typedef struct locale_category_data
 {
   off64_t size;
   void *addr;