From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: execcmd() reordering
Date: Fri, 31 May 1996 13:58:00 +0200 [thread overview]
Message-ID: <199605311158.NAA11119@hydra.ifh.de> (raw)
One extra simplification: the special handling for wild cards in
cancd(), which handles autocd, can now be removed, since this now
happens after globbing.
I didn't realise the problem with backgrounding recursive globs
before, since I've never tried it. I can't think of a way round other
than using a subshell. Bummer. (Interruption is definitely OK,
though.)
*** Src/exec.c.cancd Fri May 31 09:36:00 1996
--- Src/exec.c Fri May 31 10:51:52 1996
***************
*** 2470,2488 ****
(s[1] == '/' || !s[1] || (s[1] == '.' && (s[2] == '/' || !s[1])));
char *t;
- if (haswilds(s)) {
- LinkList l = newlinklist();
- int ne = noerrs;
-
- noerrs = 1;
- addlinknode(l, dupstring(s));
- globlist(l);
- if (!errflag && nonempty(l) && !nextnode(firstnode(l)))
- s = peekfirst(l);
- errflag = 0;
- noerrs = ne;
- }
-
if (*s != '/') {
char sbuf[PATH_MAX], **cp;
--- 2470,2475 ----
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
next prev reply other threads:[~1996-05-31 12:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-31 10:15 Duncan Sinclair
1996-05-31 10:55 ` Zoltan Hidvegi
1996-05-31 11:58 ` Peter Stephenson [this message]
1996-05-31 16:28 ` Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
1996-05-30 18:05 Duncan Sinclair
1996-05-30 19:10 ` Zoltan Hidvegi
1996-05-30 19:52 ` Barton E. Schaefer
1996-05-31 14:32 ` Hrvoje Niksic
1996-05-28 11:34 $(nooutput) problem Zoltan Hidvegi
1996-05-30 16:58 ` execcmd() reordering Peter Stephenson
1996-05-30 18:00 ` Zoltan Hidvegi
1996-05-30 18:26 ` Barton E. Schaefer
1996-05-30 18:46 ` Zoltan Hidvegi
1996-05-30 18:41 ` Zoltan Hidvegi
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=199605311158.NAA11119@hydra.ifh.de \
--to=pws@ifh.de \
--cc=zsh-workers@math.gatech.edu \
/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).