Re-run res_init() when resolv.conf changes
authorDan Winship <danw@gnome.org>
Wed, 19 Aug 2009 16:07:53 +0000 (12:07 -0400)
committerDan Winship <danw@gnome.org>
Wed, 19 Aug 2009 16:08:15 +0000 (12:08 -0400)
commit021dd960cf9c02b0ea59cbfa1db603d3f9a467f0
tree28552e7889467600fedb3b9f9dd2f463eb5f20cc
parent6db03d73a45bc0acae0bb96849733bf0ab7ad454
Re-run res_init() when resolv.conf changes

libc caches the contents of resolv.conf, so if it changes (eg, because
the network state changed), we need re-run res_init().

http://bugzilla.gnome.org/show_bug.cgi?id=584246
gio/gnetworkingprivate.h
gio/gresolver.c
gio/gresolver.h
gio/gunixresolver.c
gio/tests/resolver.c