Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: seg fault with compstate param



On Aug 23, 10:53am, Oliver Kiddle wrote:
}
} In either 4.0.2 or recentish 4.1 putting the command `typeset compstate'
} in a completion function causes it to seg fault.

Of course it shouldn't do that, but:

} I was hoping to use it for debug information.

What you did was declare a local variable named compstate that was not an
associative array.  The completion system blew up trying to use it as one.

Use `typeset + compstate' instead.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author