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

Re: ZSH_SCRIPT



>>>>> On March 3, 2016 Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:

> I can't think of anything else.  So I really don't think it makes a lot
> of difference.

OK, I think I agree with Martijn and prefer unset to empty, so will
make that change.

Peter/Bart do you think it needs both ztrdup()s?

in zsh_main():
    zsh_script = ztrdup(runscript);

and in createparamtable():
    setsparam("ZSH_SCRIPT", ztrdup(zsh_script));

Let me know and I will send an updated patch.

thanks,
Greg



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