[Pkg-tcltk-devel] Bug#438680: tcl8.4: Changes to /etc/resolv.conf are not handled
Alexander Kotelnikov
sacha at debian.org
Sat Aug 18 22:13:13 UTC 2007
Package: tcl8.4
Version: 8.4.15-1
Severity: important
Tags: patch
The problem reveales for me constantly when I close laptop lid at home
and open it in the office. Tkabber needs to be restarted since tcl calls
like 'socket $host $port' where host is a hostname (not an ip) try to
resolv host using old resolv.conf. Basicly, res_init needs to be called.
The enclosed patch solves the problem for me. Note that to finish the
fix other resolv-related wrappers need to be fixed the same way. Also
-lresolv must be added to LIBS.
--
Alexander Kotelnikov
Saint-Petersburg, Russia
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-sacha
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Versions of packages tcl8.4 depends on:
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
tcl8.4 recommends no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tclUnixCompat.diff
Type: text/x-c
Size: 1193 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/attachments/20070819/69dde98b/attachment.bin
More information about the Pkg-tcltk-devel
mailing list