Re: Unbreak utmp support for rxvt-unicode

2013-01-04 Thread David Coppa
> From: Christian Weisgerber > Date: Thu, Jan 3, 2013 at 9:31 PM > Subject: Re: Unbreak utmp support for rxvt-unicode > To: David Coppa > Cc: OpenBSD Ports , Stuart Henderson > , l...@ecentrum.hu > > > David Coppa: > > > Well, a one-line

Re: Unbreak utmp support for rxvt-unicode

2013-01-03 Thread Christian Weisgerber
David Coppa: > 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? Fine by me. The logic of CMSG_SPACE() vs. CMSG_LEN() on the receive side isn't clear to me either. Does anyb

Re: Unbreak utmp support for rxvt-unicode

2013-01-02 Thread LEVAI Daniel
On sze, jan 02, 2013 at 17:17:49 +0100, David Coppa wrote: > On Wed, Jan 2, 2013 at 4:20 PM, David Coppa 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

Re: Unbreak utmp support for rxvt-unicode

2013-01-02 Thread David Coppa
On Wed, Jan 2, 2013 at 6:13 PM, Stuart Henderson wrote: > On 2013/01/02 17:17, David Coppa wrote: >> On Wed, Jan 2, 2013 at 4:20 PM, David Coppa wrote: >> > >> > Hi, >> > >> > With the diff below I have working utmp support wrt rxvt-unicode. >> > >> > Comments and/or OKs? >> >> Well, a one-line p

Re: Unbreak utmp support for rxvt-unicode

2013-01-02 Thread David Coppa
On Wed, Jan 2, 2013 at 4:20 PM, David Coppa 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 s

Unbreak utmp support for rxvt-unicode

2013-01-02 Thread David Coppa
Hi, With the diff below I have working utmp support wrt rxvt-unicode. Comments and/or OKs? Cheers! David Index: Makefile === RCS file: /cvs/ports/x11/rxvt-unicode/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile ---