On Wed, Jan 2, 2013 at 6:13 PM, Stuart Henderson <st...@openbsd.org> wrote: > On 2013/01/02 17:17, David Coppa wrote: >> On Wed, Jan 2, 2013 at 4:20 PM, David Coppa <dco...@openbsd.org> wrote: >> > >> > Hi, >> > >> > With the diff below I have working utmp support wrt rxvt-unicode. >> > >> > Comments and/or OKs? >> >> Well, a one-line patch only for the check at line 106 ( >> "msg.msg_controllen >= CMSG_SPACE (sizeof (int))" ) is sufficient >> to unbreak utmp support... >> >> Thoughts? >> >> New diff attached. >> >> Ciao, >> David > > Hmm, yes that does seem better. > > Looking at a few things using cmsg though, it doesn't seem there's > much which actually checks msg.msg_controllen after calling recvmsg..
Yes, me too thought about removing that check tout-court. > Let's see what replies we get on-list :) Let's see. naddy?