From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: macosx(carbon): slow keyboard responsiveness bug fix Date: Wed, 21 Nov 2007 09:38:19 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1195605521 15747 80.91.229.12 (21 Nov 2007 00:38:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2007 00:38:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 21 01:38:46 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 1Iudc6-0004TG-AT for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2007 01:38:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iudbs-0007KS-H8 for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2007 19:38:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iudbn-0007FZ-Pi for emacs-devel@gnu.org; Tue, 20 Nov 2007 19:38:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iudbl-0007BH-If for emacs-devel@gnu.org; Tue, 20 Nov 2007 19:38:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iudbk-0007Az-Og for emacs-devel@gnu.org; Tue, 20 Nov 2007 19:38:24 -0500 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iudbk-0006A5-7c for emacs-devel@gnu.org; Tue, 20 Nov 2007 19:38:24 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 578DE2C40; Wed, 21 Nov 2007 09:38:19 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) 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:83749 Archived-At: >>>>> On Wed, 21 Nov 2007 00:32:20 +0100, Andreas Schwab said: > CHENG Gao writes: >> export LIBS=-lresolv (to solve Undefined symbols: _res_init_9) > That should not be necessary any more. But, as I said before, neither calling res_init or linking libresolv is meaningful/necessary on Mac OS X/Darwin because the actual DNS resolution is performed outside the Emacs process. http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01254.html I don't think it is the right thing to add -lresolv without considering the meaning/necessity of res_init just to superficially avoid the link error. Is Mac OS X/Darwin the only such system? If so, I would rather add #undef HAVE_RES_INIT and #undef HAVE_LIBRESOLV in src/s/darwin.h. Otherwise, it might be better to introduce a new macro such as RESOLVER_EXTERNAL that disables the effect of HAVE_RES_INIT and HAVE_LIBRESOLV. YAMAMOTO Mitsuhatu mituharu@math.s.chiba-u.ac.jp