ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] BUG - infinite recursion, 'alias' and command()


From: Doug Kearns
Subject: Re: [RP] BUG - infinite recursion, 'alias' and command()
Date: Fri Feb 1 01:43:04 2002
User-agent: Mutt/1.3.27i

On Fri, Feb 01, 2002 at 01:27:21AM -0800, Shawn Betts wrote:
> Doug Kearns <address@hidden> writes:
> 
> > Problem:   if two aliases reference each other command() will enter an
> >            infinite recursive loop
> > 
> > Repeat by: ratpoison -c 'alias a b' -c 'alias b a' -c a
> 
> I've noticed this too. At first I just figured dummies would do a
> thing like that :). But after some thought, it's really annoying if
> ratpoison locks up. So I've fixed it in CVS. It will recurse 16 times
> (configurable in conf.h) before bailing.

I assumed you probably knew of it.

I was just mucking around, like a dummy, and noticed it. Seg faulting is
a bit much though. I have a theory(TM) that only crap programs do that
so I thought I'd report it. :-)

Thanks for the speedy fix.

Regards,
Doug



reply via email to

[Prev in Thread] Current Thread [Next in Thread]