summary refs log tree commit diff
path: root/intl/gmo.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-14 05:38:11 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-14 05:38:11 +0000
commit083dc54a01d3b65b9d95599e4015256c9ee25342 (patch)
tree30e4fd28c914b5394aa42a78f8c0dc48f28753b9 /intl/gmo.h
parent5de90b7c610de4f8c869d460b6025853a96bdccf (diff)
downloadglibc-083dc54a01d3b65b9d95599e4015256c9ee25342.tar.gz
glibc-083dc54a01d3b65b9d95599e4015256c9ee25342.tar.xz
glibc-083dc54a01d3b65b9d95599e4015256c9ee25342.zip
Update.
2004-01-09  Bruno Haible  <bruno@clisp.org>

	* intl/gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition.
	* intl/loadmsgcat.c (get_sysdep_segment_value): Handle "I".
	(_nl_load_domain): Treat major revision 1 like major revision 0.

2004-01-11  Bruno Haible  <bruno@clisp.org>

	* stdio-common/vfprintf.c (vfprintf): Disallow the 'I' flag after
	width or precision has been seen.

2004-01-08  Bruno Haible  <bruno@clisp.org>

	* intl/loadmsgcat.c (_nl_load_domain): When a string pair uses a system
	dependent segment not known to this version of the library, ignore
	the string pair instead of crashing.
Diffstat (limited to 'intl/gmo.h')
-rw-r--r--intl/gmo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/intl/gmo.h b/intl/gmo.h
index 65e0b27440..81003fcee6 100644
--- a/intl/gmo.h
+++ b/intl/gmo.h
@@ -1,5 +1,5 @@
 /* Internal header for GNU gettext internationalization functions.
-   Copyright (C) 1995, 1997, 2000-2002 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1997, 2000-2002, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -30,6 +30,7 @@
 
 /* Revision number of the currently used .mo (binary) file format.  */
 #define MO_REVISION_NUMBER 0
+#define MO_REVISION_NUMBER_WITH_SYSDEP_I 1
 
 /* The following contortions are an attempt to use the C preprocessor
    to determine an unsigned integral type that is 32 bits wide.  An
@@ -77,7 +78,7 @@ struct mo_file_header
   /* The revision number of the file format.  */
   nls_uint32 revision;
 
-  /* The following are only used in .mo files with major revision 0.  */
+  /* The following are only used in .mo files with major revision 0 or 1.  */
 
   /* The number of strings pairs.  */
   nls_uint32 nstrings;