From owner-freebsd-current@FreeBSD.ORG Thu Oct 23 07:07:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4C4616A4BF; Thu, 23 Oct 2003 07:07:07 -0700 (PDT) Received: from cheer.mahoroba.org (flets19-227.kamome.or.jp [218.45.19.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A24C43F3F; Thu, 23 Oct 2003 07:07:01 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from lyrics.mahoroba.org (IDENT:RwbfLxzT+jfH50hubm6hsIMN3glNju8Tf2Ek54PqvoNZK/z4pZFMzpeqlY5y/ula@lyrics.mahoroba.org [IPv6:3ffe:501:185b:8010:280:88ff:fe03:4841]) (user=ume mech=CRAM-MD5 bits=0)h9NE6qXe023777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 23 Oct 2003 23:06:56 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Thu, 23 Oct 2003 23:06:48 +0900 Message-ID: From: Hajimu UMEMOTO To: current@FreeBSD.org, ports@FreeBSD.org References: <200310231355.h9NDtaGK050034@repoman.freebsd.org> User-Agent: Wanderlust/2.11.3 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.1-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Thu_Oct_23_23:06:48_2003-1" X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on cheer.mahoroba.org Subject: HEADS-UP: EAI_NODATA was deprecated X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 14:07:07 -0000 --Multipart_Thu_Oct_23_23:06:48_2003-1 Content-Type: text/plain; charset=US-ASCII Hi, I've just committed to nuke EAI_NODATA. It was depricated in RFC3493 (aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME instead of EAI_NODATA. So, an application that looks EAI_NODATA, error handling will not work. At least, you need to recompile telnet(1). Sincerely, --Multipart_Thu_Oct_23_23:06:48_2003-1 Content-Type: message/rfc822 X-Sieve: CMU Sieve 2.2 Delivered-To: ume@freebsd.org Delivered-To: src-committers@freebsd.org Message-Id: <200310231355.h9NDtaGK050034@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Thu, 23 Oct 2003 06:55:36 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/telnet/telnet commands.c src/lib/libc/net getaddrinfo.3 getaddrinfo.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on cheer.mahoroba.org ume 2003/10/23 06:55:36 PDT FreeBSD src repository Modified files: contrib/telnet/telnet commands.c lib/libc/net getaddrinfo.3 getaddrinfo.c Log: EAI_ADDRFAMILY and EAI_NODATA was deprecated in RFC3493 (aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME instead of EAI_NODATA. Our getaddrinfo(3) nor getnameinfo(3) didn't use EAI_ADDRFAMILY. Obtained from: KAME Revision Changes Path 1.32 +2 -2 src/contrib/telnet/telnet/commands.c 1.23 +0 -7 src/lib/libc/net/getaddrinfo.3 1.44 +4 -10 src/lib/libc/net/getaddrinfo.c --Multipart_Thu_Oct_23_23:06:48_2003-1 Content-Type: text/plain; charset=US-ASCII -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ --Multipart_Thu_Oct_23_23:06:48_2003-1--