[CFR] reflect resolv.conf update to running application

Peter Jeremy PeterJeremy at optushome.com.au
Tue Aug 23 07:47:47 GMT 2005


On Mon, 2005-Aug-22 13:18:46 -0700, Matthew Reimer wrote:
>How about just stat'ing resolv.conf if more than X seconds has passed since 
>the last stat, rather than for every lookup?

That reduces the number of stat() calls but doesn't resolve the possibility
of reading a half-written resolv.conf.

-- 
Peter Jeremy


More information about the freebsd-arch mailing list