Skip to content
Tcl Source Code View Ticket
Login

View Ticket

changes to /etc/resolv.conf not handled

Open1777366fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-08-20 00:47:25
Just a pointer to debian bug#438680 (with patch):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438680
dkfplain2007-08-20 15:07:15
File Added - 241963: tclUnixCompat.diff

Logged In: YES 
user_id=79902
Originator: NO

Added patch extracted from Debian issue
File Added: tclUnixCompat.diff
dkfplain2007-08-20 15:18:24
Logged In: YES 
user_id=79902
Originator: NO

Solaris 9 documents res_init() as Deprecated in favour of res_ninit()

Probably need autoconf-ery to detect res_init(), which might need -lresolv adding to the link libraries list; these are things that aren't needed in Debian where they can hard-code the results of the checks.
jenglishplain2007-09-06 05:52:10
Logged In: YES 
user_id=68433
Originator: NO

Also, the patch calls  stat("/etc/resolv.conf");  to determine whether it thinks it needs to call res_init(), which is extremely OS-dependent.
Log in (anonymous is fine) to add a comment.

Attachments: