From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Van Holder Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: lib-src/pop.c rev 1.42 broken if KERBEROS is enabled Date: Mon, 19 Nov 2007 11:36:55 +0100 Message-ID: <87wsseiks8.fsf@leeloo.anubex.internal> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195468658 15328 80.91.229.12 (19 Nov 2007 10:37:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 10:37:38 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 11:37:44 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 1Iu40G-0006w1-Ta for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 11:37:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu403-0008Ns-85 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 05:37:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu400-0008Lv-59 for emacs-devel@gnu.org; Mon, 19 Nov 2007 05:37:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu3zy-0008Jg-Fr for emacs-devel@gnu.org; Mon, 19 Nov 2007 05:37:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu3zy-0008JY-8S for emacs-devel@gnu.org; Mon, 19 Nov 2007 05:37:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iu3zx-0000r9-T0 for emacs-devel@gnu.org; Mon, 19 Nov 2007 05:37:02 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iu3zx-0003z5-IP for emacs-pretest-bug@gnu.org; Mon, 19 Nov 2007 05:37:01 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Iu3zt-0000qE-E0 for emacs-pretest-bug@gnu.org; Mon, 19 Nov 2007 05:37:01 -0500 Original-Received: from 179.75-78-194.adsl-static.isp.belgacom.be ([194.78.75.179] helo=mail.anubex.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iu3zt-0000pn-3i for emacs-pretest-bug@gnu.org; Mon, 19 Nov 2007 05:36:57 -0500 Original-Received: from leeloo.anubex.internal (177.75-78-194.adsl-static.isp.belgacom.be [194.78.75.177]) by mail.anubex.com (Postfix) with ESMTP id AD84C6C1E2E; Mon, 19 Nov 2007 11:36:55 +0100 (CET) Original-Received: from tim by leeloo.anubex.internal with local (Exim 4.63) (envelope-from ) id 1Iu3zr-0005rG-Cb; Mon, 19 Nov 2007 11:36:55 +0100 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: 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:83628 gmane.emacs.pretest.bugs:20312 Archived-At: lib-src/pop.c does not currently build for me; the changes to add getaddrinfo support break compilation if kerberos is enabled. There are two problems, both on line 1178: - 'realhost' is used, but that variable is only defined for !KERBEROS5 -> easily fixed by moving it out of the KERBEROS5 conditional - 'hostent' is used, but is only available (and filled) if !HAVE_GETADDRINFO -> Kerberos code needs to have conditional code introduced for HAVE_GETADDRINFO