From: Alexander Kotelnikov <sacha@myxomop.com>
To: emacs-devel@gnu.org
Subject: Re: make-network-process's gethostbyname usage
Date: Tue, 21 Aug 2007 13:51:29 +0400 [thread overview]
Message-ID: <87hcmtrza6.fsf@myxomop.com> (raw)
In-Reply-To: 87k5rpp9be.fsf@kfs-lx.testafd.dk
>>>>> On Tue, 21 Aug 2007 10:43:01 +0200
>>>>> "KFS" == Kim F Storm <storm@cua.dk> wrote:
KFS>
KFS> Alexander Kotelnikov <sacha@myxomop.com> writes:
>> 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).
KFS>
KFS> Is res_init available on all platforms which have gethostbyname ?
I am alsmost sure, no. BTW I think on my linux box getaddrinfo() is
used instead of gethostbyname(), but anyway, res_init is needed. And
its presence really helps: made a hack on emacs22-22.1+1 yesterday at
home and today I had not had to restart my emacs with gnus in the
office.
KFS> Otherwise, we need to arrange for configure to test for its
KFS> existence...
IIRC my fgrep res_init found some occurrences in autoconf/autoheader
emacs files.
--
Alexander Kotelnikov
Saint-Petersburg, Russia
next prev parent reply other threads:[~2007-08-21 9:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 8:56 make-network-process's gethostbyname usage Alexander Kotelnikov
2007-08-21 8:43 ` Kim F. Storm
2007-08-21 9:51 ` Alexander Kotelnikov [this message]
2007-08-21 14:46 ` Richard Stallman
2007-08-22 9:18 ` Kim F. Storm
2007-08-22 11:32 ` Jan Djärv
2007-08-23 0:45 ` Richard Stallman
2007-08-25 19:06 ` Chong Yidong
2007-08-27 11:09 ` Jan Djärv
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hcmtrza6.fsf@myxomop.com \
--to=sacha@myxomop.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.