From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Kotelnikov Newsgroups: gmane.emacs.devel Subject: make-network-process's gethostbyname usage Date: Mon, 20 Aug 2007 12:56:27 +0400 Organization: Global disintoxication Message-ID: <87hcmueg90.fsf@myxomop.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187600232 29512 80.91.229.12 (20 Aug 2007 08:57:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2007 08:57:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 20 10:57:11 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IN34J-00078S-Io for ged-emacs-devel@m.gmane.org; Mon, 20 Aug 2007 10:57:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IN34K-0004bX-9C for ged-emacs-devel@m.gmane.org; Mon, 20 Aug 2007 04:57:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IN34E-0004a8-LO for emacs-devel@gnu.org; Mon, 20 Aug 2007 04:56:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IN34C-0004Yv-9J for emacs-devel@gnu.org; Mon, 20 Aug 2007 04:56:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IN34B-0004Ys-VZ for emacs-devel@gnu.org; Mon, 20 Aug 2007 04:56:56 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IN34A-0005dE-DU for emacs-devel@gnu.org; Mon, 20 Aug 2007 04:56:54 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IN33w-0002GB-8E for emacs-devel@gnu.org; Mon, 20 Aug 2007 10:56:40 +0200 Original-Received: from bridgkvest.cust.smartspb.net ([80.249.179.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Aug 2007 10:56:40 +0200 Original-Received: from sacha by bridgkvest.cust.smartspb.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Aug 2007 10:56:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 11 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgkvest.cust.smartspb.net Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:OBc5b5bPh91fiaXeMg2l9xRCQZM= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76815 Archived-At: Hello. make-network-process calles gethostbyname, but never calls res_init. The problem, which appears is: if contents of /etc/resolv.conf was changed old dns servers are unavailable, gethostbyname still tries them, not new ones. So this bug is pretty much the same as http://bugs.debian.org/438680 (which has a patch). -- Alexander Kotelnikov Saint-Petersburg, Russia