Tcl Source Code

View Ticket
Login
Ticket UUID: 1777366
Title: changes to /etc/resolv.conf not handled
Type: Bug Version: obsolete: 8.4.15
Submitter: msofer Created on: 2007-08-20 00:47:25
Subsystem: 25. Channel System Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Open Last Modified: 2007-09-06 05:52:10
Resolution: None Closed By:
    Closed on:
Description:
Just a pointer to debian bug#438680 (with patch):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438680
User Comments: jenglish added on 2007-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.

dkf added on 2007-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.

dkf added on 2007-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

Attachments: