shlib-versions patch for libBrokenLocale

Andreas Jaeger aj@suse.de
Sat Sep 2 08:20:00 GMT 2000


Both libc.map and libBrokenLocale.map export __ctype_get_mb_cur_max:
$ grep __ctype_get_mb_cur_max *map
libBrokenLocale.map:    __ctype_get_mb_cur_max;
libc.map:    __ctype_get_mb_cur_max;

On ia64 and sh, the minimal version used is 2.2.  In libc.map the
version will therefore be 2.2 - but in libBrokenLocale it's 2.0.

What do you think of the appended patch?

I also think that libnss_* need special treatment for ia64 and sh.
But haven't added it yet.  Is this needed?

Andreas

2000-09-02  Andreas Jaeger  <aj@suse.de>

	* shlib-versions: libBrokenLocale needs minimal version for ia64
	and sh to synch with libc.

============================================================
Index: shlib-versions
--- shlib-versions	2000/08/28 11:09:29	1.52
+++ shlib-versions	2000/09/02 15:16:32
@@ -110,6 +110,8 @@
 
 # The gross patch for programs assuming broken locale implementations.
 alpha.*-.*-linux.*	libBrokenLocale=1.1
+ia64-.*-.*		libBrokenLocale=1	GLIBC_2.2
+sh.*-.*-.*		libBrokenLocale=1	GLIBC_2.2
 .*-.*-.*		libBrokenLocale=1
 
 # The real-time library from POSIX.1b.



-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Libc-hacker mailing list