[PATCH] Fix newlocale, uselocale, duplocale, is*_l and to*_l

Ulrich Drepper drepper@redhat.com
Sat Aug 31 11:52:00 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

> Well, libstdc++ 3.1/2 certainly uses them for at least 8 months now,
> and is*_l has been around for a couple of years.

Right, this is a binary compatibility issues.  Jakub's patch is correct. 
  libstdc++ is a legitimate user of the _l functions for some time.

> 
> Anyway, if you think it is possible to reorder the struct (and
> thus force recompilation of all C++ 3.2 programs - __ctype_* fields
> are accessed from /usr/include/c++/3.*/ headers, so it isn't just
> libstdc++ recompilation which is necessary), __ctype_ fields
> should be certainly at the beginning so that __LC_LAST can grow.

I don't expect any growth.  Let's stick with the patch.

- -- 
- ---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9cRCC2ijCOnn/RHQRAsvlAJ9KXSLlUULqpHFhXXAJ/uV54dwrcgCfZ8fL
swHMwlFnTfx9+5v3nCS0FP0=
=oGJ/
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list