Date: Sat, 16 Apr 2005 22:53:27 -0400 From: David Schultz <das@FreeBSD.ORG> To: Xin LI <delphij@FreeBSD.ORG> Cc: lx@knight.6test.edu.cn Subject: Re: kern/80008: Unnecessary requirement of sa_len in getnameinfo() Message-ID: <20050417025327.GA20089@VARK.MIT.EDU> In-Reply-To: <200504161637.j3GGbchA015884@freefall.freebsd.org> References: <200504161637.j3GGbchA015884@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 16, 2005, Xin LI wrote: > Synopsis: Unnecessary requirement of sa_len in getnameinfo() > > State-Changed-From-To: open->analyzed > State-Changed-By: delphij > State-Changed-When: Sat Apr 16 16:33:02 GMT 2005 > State-Changed-Why: > Dear freebsd-standards, > > Would you please review the following patch? I have consulted with POSIX > standard and there is no requirement that there must be a "sa_len" field > in sockaddr. Therefore, I think the check should be either removed, or > be replaced with an assignment. Yeah, sa_len has always been a portability problem. Your proposed change looks fine to me.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050417025327.GA20089>