On Wed, 21 Jul 2004 20:39:24 -0400 (EDT) YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> wrote: > Well, by the spec. (Open Group Base Specifications, Issue 6), > recv(2) and recvfrom(2) shall return "the length of the message written > to the buffer pointed to by the buffer argument." > So, current code conforms to this. > (On the other hand, the spec just says that recvmsg(2) shall return > "the total length of the message;" Hmm?) I think the new behavior is OK too, nobody is passing in MSG_TRUNC in the recvmsg() flags except those who expect it to do something. It should be a very safe change, therefore. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html