[PATCH] Ressurect __strtou?q_internal

H . J . Lu hjl@valinux.com
Sun Feb 11 13:08:00 GMT 2001


On Sun, Feb 11, 2001 at 09:55:53PM +0100, Jakub Jelinek wrote:
> Hi!
> 
> Those two aliases were unfortunately exported from libc and according to
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=27029
> IBM DB2 6.1 from IBM Websphere 3.5 was linked against it.
> It looks like some inlines (strtou?q, strtou?ll) used to be defined to
> __strtou?q_internal at least in 1996 and early 1997.
> So, IMHO no matter whether they are unused now, they should be present for
> binary compatibility.
> 

If it is the case, please don't make them default so that the static
linker won't use them. We have the similar problem with res_init. What
happaned to my patch:

http://sources.redhat.com/ml/libc-alpha/2000-12/msg00029.html

Jakub, you can use the similar approach to make them not available
to the static linker.


-- 
H.J. Lu (hjl@valinux.com)



More information about the Libc-hacker mailing list