From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: macosx(carbon): slow keyboard responsiveness bug fix
Date: Wed, 21 Nov 2007 09:38:19 +0900 [thread overview]
Message-ID: <wlejeksa9w.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <jer6ika3y3.fsf@sykes.suse.de>
>>>>> On Wed, 21 Nov 2007 00:32:20 +0100, Andreas Schwab <schwab@suse.de> said:
> CHENG Gao <chenggao@gmail.com> 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
next prev parent reply other threads:[~2007-11-21 0:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 10:38 macosx(carbon): slow keyboard responsiveness bug fix William Xu
2007-11-19 15:00 ` Stefan Monnier
2007-11-20 15:04 ` William Xu
2007-11-20 15:56 ` Andreas Schwab
2007-11-20 16:53 ` Stefan Monnier
2007-11-20 17:58 ` Dan Nicolaescu
2007-11-21 8:59 ` William Xu
2007-11-20 17:11 ` CHENG Gao
2007-11-20 17:52 ` CHENG Gao
2007-11-20 23:32 ` Andreas Schwab
2007-11-21 0:38 ` YAMAMOTO Mitsuharu [this message]
2007-11-21 2:55 ` CHENG Gao
2007-11-21 4:05 ` William Xu
2007-11-21 2:46 ` CHENG Gao
2007-11-21 4:12 ` William Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wlejeksa9w.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=emacs-devel@gnu.org \
--cc=schwab@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).