HEADS-UP: EAI_NODATA was deprecated

From: Hajimu UMEMOTO <ume_at_mahoroba.org>
Date: Thu, 23 Oct 2003 23:06:48 +0900
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,


attached mail follows:


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

--
Hajimu UMEMOTO _at_ Internet Mutual Aid Society Yokohama, Japan
ume_at_mahoroba.org  ume_at_bisd.hitachi.co.jp  ume_at_{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
Received on Thu Oct 23 2003 - 05:07:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:26 UTC