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

Re: crash with nameref and local argv



Bart Schaefer wrote:
> Ignore that, it doesn't allow naming something "argvcopy" etc.  Sorry.

I was just about to reply with that.
Adding a check for whether val[4] is NULL or '[' may be enough, or?

Is there definitely no other variables with similar properties to argv?
ARGC immediately comes to mind. Or the various automatically local
completion/zle widget variables. I've tested those and don't see
problems.

Oliver




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