From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Sending bug reports without setting up email Date: Mon, 09 May 2016 20:19:38 +0200 Message-ID: <87r3dbhz5x.fsf@gnus.org> References: <87twi7jq6z.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462818023 2581 80.91.229.3 (9 May 2016 18:20:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 May 2016 18:20:23 +0000 (UTC) Cc: eggert@cs.ucla.edu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 09 20:20:10 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1azpmq-00026q-OZ for ged-emacs-devel@m.gmane.org; Mon, 09 May 2016 20:20:08 +0200 Original-Received: from localhost ([::1]:42825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azpmp-00030q-Sa for ged-emacs-devel@m.gmane.org; Mon, 09 May 2016 14:20:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azpmZ-0002wB-Hm for emacs-devel@gnu.org; Mon, 09 May 2016 14:19:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azpmV-0003qD-OR for emacs-devel@gnu.org; Mon, 09 May 2016 14:19:51 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:58653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azpmV-0003q6-Aq for emacs-devel@gnu.org; Mon, 09 May 2016 14:19:47 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1azpmM-0007q7-Sz; Mon, 09 May 2016 20:19:43 +0200 In-Reply-To: <87twi7jq6z.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 09 May 2016 15:50:28 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203734 Archived-At: Lars Ingebrigtsen writes: > To look up the MX in a reliable, and non-hardcoded manner, it would be > nice if we could use dns.el. Would anybody mind if I create a C > interface function to return nsaddr_list (from res_init) to Lisp? Paul, if I understand how this works correctly, this means that I would have to undo parts of this commit: 93bf7d52841c60ffc10e0c9c789a7987812ce55e That is, put the check for res_init back again. Would that be OK? And on Windows (or just Cygwin?) some other code might be necessary... http://stackoverflow.com/questions/10523828/how-does-gcc-cygwin-get-the-dns-server/10773280#10773280 -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no