Re: Possible bug with libevent-2.0.20

2012-09-05 Thread Nicholas Marriott
Hi Applied without the macro. struct tty is memset in tty_init so the event should be zero (and if it wasn't, libevent 1.4 would fail too anyway). Thanks On Wed, Aug 29, 2012 at 02:24:09PM +0100, Thomas Adam wrote: > Hi, > > On 29 August 2012 13:21, Nicholas Marriott > wrote: > > Hi > > > >

Re: Possible bug with libevent-2.0.20

2012-08-29 Thread Thomas Adam
Hi, On 29 August 2012 13:21, Nicholas Marriott wrote: > Hi > > Right idea but I don't think we should hide this behind a macro, > especially one libevent itself could plausibly use in future. Heh; ignore the name of the macro, the point of it was to show the coupling between initialisation and u

Re: Possible bug with libevent-2.0.20

2012-08-29 Thread Nicholas Marriott
Hi Right idea but I don't think we should hide this behind a macro, especially one libevent itself could plausibly use in future. evtimer_initialized will only work with zero'd memory so if there is a genuinely uninitialized case it needs to be changed. Cheers On Wed, Aug 29, 2012 at 08:59:45A

Re: Possible bug with libevent-2.0.20

2012-08-29 Thread Vladimir Lomov
Hi, ** Thomas Adam [2012-08-29 08:59:45 +0100]: > Hi, > On Wed, Aug 29, 2012 at 06:47:24AM +0530, Raghavendra D Prabhu wrote: >> 532 partial_key: >> 533 /* >> 534 * Escape but no key string. If have already seen an escape >> and the >> 535 * timer h

Re: Possible bug with libevent-2.0.20

2012-08-29 Thread Thomas Adam
Hi, On Wed, Aug 29, 2012 at 06:47:24AM +0530, Raghavendra D Prabhu wrote: > 532 partial_key: > 533 /* > 534 * Escape but no key string. If have already seen an escape > and the > 535 * timer has expired, give up waiting and send the escape. > 536

Re: Possible bug with libevent-2.0.20

2012-08-28 Thread Raghavendra D Prabhu
Hi, * On Wed, Aug 29, 2012 at 06:47:24AM +0530, Raghavendra D Prabhu wrote: Hi, * On Tue, Aug 28, 2012 at 02:01:15PM +0100, Thomas Adam wrote: Hi, On 28 August 2012 13:43, Vladimir Lomov wrote: I'm using Archlinux x86_64, tmux compiled from SVN, rev. 2860. Recently I updated my system

Re: Possible bug with libevent-2.0.20

2012-08-28 Thread Raghavendra D Prabhu
Hi, * On Tue, Aug 28, 2012 at 02:01:15PM +0100, Thomas Adam wrote: Hi, On 28 August 2012 13:43, Vladimir Lomov wrote: I'm using Archlinux x86_64, tmux compiled from SVN, rev. 2860. Recently I updated my system with new kernel, 3.5.3, and libevent, 2.0.20. I rebooted after update and starte

Re: Possible bug with libevent-2.0.20

2012-08-28 Thread Vladimir Lomov
Hi, ** Thomas Adam [2012-08-28 14:01:15 +0100]: > Hi, > On 28 August 2012 13:43, Vladimir Lomov wrote: >> I'm using Archlinux x86_64, tmux compiled from SVN, rev. 2860. Recently >> I updated my system with new kernel, 3.5.3, and libevent, 2.0.20. I >> rebooted after update and started tmux, afte

Re: Possible bug with libevent-2.0.20

2012-08-28 Thread Vladimir Lomov
Hello, ** Thomas Adam [2012-08-28 14:01:15 +0100]: > Hi, > On 28 August 2012 13:43, Vladimir Lomov wrote: >> I'm using Archlinux x86_64, tmux compiled from SVN, rev. 2860. Recently >> I updated my system with new kernel, 3.5.3, and libevent, 2.0.20. I >> rebooted after update and started tmux,

Re: Possible bug with libevent-2.0.20

2012-08-28 Thread Thomas Adam
Hi, On 28 August 2012 13:43, Vladimir Lomov wrote: > I'm using Archlinux x86_64, tmux compiled from SVN, rev. 2860. Recently > I updated my system with new kernel, 3.5.3, and libevent, 2.0.20. I > rebooted after update and started tmux, after I pressed `Esc' tmux > 'crashed', I only see 'lose con

Possible bug with libevent-2.0.20

2012-08-28 Thread Vladimir Lomov
Hello, first of all I want to apologize if this is wrong place to report this bug but I use libevent only indirectly, by means of tmux, so don't know who exactly responsible for this behaviour: I'm using Archlinux x86_64, tmux compiled from SVN, rev. 2860. Recently I updated my system with new ke