[PATCH] Fix dladdr return value when cannot find symbol

Carmelo Amoroso carmelo73 at gmail.com
Sat Dec 1 07:53:36 UTC 2007


Nickolai Zeldovich wrote:
> The attached patch makes dladdr() return 0 when it cannot find a 
> matching symbol.  The current behavior of returning 1 makes it 
> impossible for callers to know whether the supplied Dl_info buffer has 
> been filled in with meaningful data.
> 
> Nickolai.
> 

I'll have a look.
Please inlined patch are preferable.

Regards,
Carmelo
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc




More information about the uClibc mailing list