[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclibc
Subject:    gethostbyname
From:       tgh1138 () acm ! org (Timothy Holdener)
Date:       2009-10-14 18:12:40
Message-ID: 20091014181240.GA10672 () acm ! org
[Download RAW message or body]


On the device where I use uClibc, resolv.conf is created only after the 
device receives a DHCP Offer.  If that doesn't occur, the device is
assigned a link-local address instead.  Only about 20% of our users
actually plug the device into a network, so approx. 80% of our users
do not have a resolv.conf file.

I see that a fix for the missing resolv.conf case has been checked in.
Thank you.

On Oct 14, 2009 6:31 AM, "Bernhard Reutner-Fischer" <rep.dot.nop at gmail.com> wrote:
> Huh?
> Why on earth would we care about a missing resolv.conf there?

On Oct 14, 2009 2:21 AM, "Timothy Holdener" <tgh1138 at acm.org> wrote:

>> Bernhard's solution has one problem in that the call to stat will
>> fail if /etc/resolv.conf does not exist. In that case, the value
>> of sb.st_mtime is indeterminate.
-- 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic