about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--locale/localeinfo.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f467908703..2d65ecd8b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-28  Ulrich Drepper  <drepper@redhat.com>
+
+	* locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
+	to avoid crashing statically linked applications.
+
 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
 
 	* string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index f986282392..1a4fe6f543 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -33,7 +33,7 @@
 #include <intl/loadinfo.h>	/* For loaded_l10nfile definition.  */
 
 /* Magic number at the beginning of a locale data file for CATEGORY.  */
-#define	LIMAGIC(category)	(0x20000616 ^ (category))
+#define	LIMAGIC(category)	(0x20000828 ^ (category))
 
 /* Two special weight constants for the collation data.  */
 #define IGNORE_CHAR	2