Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2005 00:24:00 -0000
From:      David Schultz <das@FreeBSD.ORG>
To:        Xin LI <delphij@FreeBSD.ORG>
Cc:        lx@knight.6test.edu.cn, freebsd-bugs@FreeBSD.ORG, freebsd-standards@FreeBSD.ORG
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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050417025327.GA20089>