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

Re: es-0.79 bug



> Just found a couple of bugs with 0.79.
> 

> 1.  You've still forgotten to change the ``return'' to ``break'' in eval.c
>     for the nFor case.
> 

> 2.  Here's a problem I found with expandhome() :
> 

> ; echo ~/ ^ (a a)
> /users3/peter/a /users3/peter/a
> ; echo ~/ ^ ('' a)
> /users3/peterr /users3/peter/a
> ; echo ~/
> /users3/peter/
> ; echo ~
> /users3/peter
> ; echo ~/ ^ ''
> /users3/peterr
> ; echo ~// ^ ''
> /users3/peterrr

these are both real bugs in es; the first is easy to fix yourself (though i will  
included in a real patch soon) and the second will take a little tracking down.   
expect a patch on wednesday for both of these problems.

> Other than that, it doesn't seemed to have broken any of my existing stuff
> (only my %interactive-loop function -- BTW what is the dispatch arg in
> the new %interactive-loop? )

the function to use to eval what %parse returned.  it's different if you use -x  
or -n or something like that.  leaving it out shouldn't matter much; you just  
lose the ability to use -x.