Subject: Re: ZSH_SCRIPT
From: Greg Klanderman <[email-masked]>
To: [email-masked]
Date: Thu, 03 Mar 2016 12:26:22 -0500
List-Id: Zsh Workers List <zsh-workers.zsh.org>

>>>>> On March 3, 2016 Peter Stephenson <[email-masked]> 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