On Thu, 21 Feb 2008, [EMAIL PROTECTED] wrote: >>> How does glibc handle this? >> >> The latest (2.7) glibc (which is much newer than what uClibc is based on) >> has a similar way of introducing additional checks in various parts of >> the code. However, it relies on getifaddrs() to determine the existance >> of an interface instead of checking the /proc filesystem. >> >> Which as you are implying might be a better way to do it. >> > I would tend to lean that way, yes. As Carmelo points out though, we > cannot copy code from glibc-2.7 due to their licensing. Is it possible > to examine and then recreate something for uClibc that does things > similarly?
Regardless of licensing issues, if it works it might be possible to copy the essence of the glibc-2.7 function by using getifaddrs(). I will investigate. /Ricard -- Ricard Wolf Wanderlöf ricardw(at)axis.com Axis Communications AB, Lund, Sweden www.axis.com Phone +46 46 272 2016 Fax +46 46 13 61 30 _______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc