From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17541 invoked by alias); 3 Mar 2016 17:26:32 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38078 Received: (qmail 19747 invoked from network); 3 Mar 2016 17:26:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:subject:reply-to:in-reply-to:references:mime-version:content-type; s=smtpapi; bh=G/A2Ojmk/PsjFSHhoDQGzi9dlhs=; b=WuMz7LSvRp+1T5ScqZ Qc9dued9py5REOmmHhwrHrm2BZxaymU1WMj5ixUDOSSYVueo4HjIBVpCZg46JuJT pIDmvqoz1VIwG+uZkrqB5B9btMPM9nEOuvAfWqzVy5N64MzA17MJ7vr8b8E325nI b0UUPNYbLnjrsPx699NA/k2nY= From: Greg Klanderman To: zsh-workers@zsh.org Subject: Re: ZSH_SCRIPT Reply-To: Greg Klanderman Date: Thu, 03 Mar 2016 12:26:22 -0500 In-Reply-To: <20160303093702.7d28f80e@pwslap01u.europe.root.pri> (Peter Stephenson's message of "Thu, 03 Mar 2016 09:37:02 +0000") Message-ID: <87mvqflbgh.fsf@lwm.klanderman.net> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) References: <22221.59800.803540.618862@lwm.klanderman.net> <160224143153.ZM28994@torch.brasslantern.com> <20160225093344.0d2499d5@pwslap01u.europe.root.pri> <87r3g08ycp.fsf@lwm.klanderman.net> <160225150425.ZM14095@torch.brasslantern.com> <87lh6384y5.fsf@lwm.klanderman.net> <20160301092746.1472ae95@pwslap01u.europe.root.pri> <87fuwa8dpk.fsf@lwm.klanderman.net> <20160301150707.2ee18f01@pwslap01u.europe.root.pri> <56D74063.6020202@inlv.org> <871t7s7ev6.fsf@lwm.klanderman.net> <20160303093702.7d28f80e@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SG-EID: i+zOheVB0lMUqP0z3X/8PPLe+C1hDfxH7g5ommK/LCqcwyGXP4zfk1wmj1s65MPnEl7FIspkT5Pfca e618aqtFg19PFAj3kJM7fWdqCZiIEv4Lm9OjGBzcy7B85dpkcuywR8F7W9EdxmrdON7xRfM864mo0s N49QYBBhaaKy1N+WDCm60/6fw0fLaZrk9+UG7DQjTZs49+bTe7VLJv2Jj+G8CstOCTK4DkU7bnVKwP U= >>>>> On March 3, 2016 Peter Stephenson 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