From: Peter Stephenson <pws@csr.com>
To: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: Can't trace script not in PATH
Date: Mon, 15 Mar 2010 14:03:14 +0000 [thread overview]
Message-ID: <20100315140314.0e723abe@news01> (raw)
In-Reply-To: <20100315125923.63a6afa6@news01>
On Mon, 15 Mar 2010 12:59:23 +0000
Peter Stephenson <pws@csr.com> wrote:
> + /* sets INTERACTIVE, SHINSTDIN and SINGLECOMMAND */
> + parseargs(argv, &runscript);
>
> SHTTY = -1;
> init_io();
> setupvals();
> + setupshin(runscript);
> +
> init_signals();
> init_bltinmods();
> init_builtins();
ackshly, the new code should be after run_init_scripts(), just off the
bottom of the hunk, to ensure PATH has been set up, so I will move it.
(Remember all I'm changing is how we find the file, I'm not changing
anything to do with where code is executed, although it will now execute
start-up files even if can't find the script which didn't happen before.)
--
Peter Stephenson <pws@csr.com> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
next prev parent reply other threads:[~2010-03-15 14:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <38D4FA2BB99A674BADDED237051D97A70EE02067@FFBRUE001.cfmu.corp.eurocontrol.int>
2010-03-15 12:59 ` Peter Stephenson
2010-03-15 14:03 ` Peter Stephenson [this message]
2010-03-15 15:30 ` Peter Stephenson
2010-08-23 13:27 ` Mikael Magnusson
2010-08-23 13:41 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100315140314.0e723abe@news01 \
--to=pws@csr.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).