From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: If someone wants to try...
Date: Wed, 19 Jan 2000 09:59:34 +0100 (MET) [thread overview]
Message-ID: <200001190859.JAA12126@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Tanaka Akira's message of 19 Jan 2000 07:49:37 +0900
Tanaka Akira wrote:
> In article <200001171250.NAA21712@beta.informatik.hu-berlin.de>,
> Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:
>
> > If someone tries it and finds any problems, please tell me...
>
> `make check' succeed but some extra messages are printed.
>
> % make check
> cd Test ; gmake check
> gmake[1]: Entering directory `/space/akr/zsh/zsh-main-trunc/Test'
> for f in ./*.ztst; do \
> ../Src/zsh -f ./ztst.zsh $f; \
> done
> ./01grammar.ztst: all tests successful.
> ./02alias.ztst: all tests successful.
> ./03quoting.ztst: all tests successful.
> ZTST_test:72: redirection with no command
> ZTST_test:72: redirection with no command
> ZTST_test:72: redirection with no command
> ZTST_test:72: redirection with no command
> ./04redirect.ztst: all tests successful.
> ...
>
> These messages `ZTST_test:72: redirection with no command' are
> expected error messages but should not be printed on a terminal and
> dev-15 doesn't print them.
Oops. Unnecessarily complex test in getoutput().
Bye
Sven
diff -ru ../z.old/Src/exec.c Src/exec.c
--- ../z.old/Src/exec.c Tue Jan 18 13:07:18 2000
+++ Src/exec.c Wed Jan 19 09:46:35 2000
@@ -2517,8 +2517,7 @@
wc_code(pc[2]) == WC_PIPE && WC_PIPE_TYPE(pc[2]) == WC_PIPE_END &&
wc_code(pc[3]) == WC_REDIR && WC_REDIR_TYPE(pc[3]) == READ &&
!pc[4] &&
- wc_code(pc[6]) == WC_SIMPLE && !WC_SIMPLE_ARGC(pc[6]) &&
- wc_code(pc[7]) == WC_END) {
+ wc_code(pc[6]) == WC_SIMPLE && !WC_SIMPLE_ARGC(pc[6])) {
/* $(< word) */
int stream;
char *s = dupstring(ecrawstr(prog, pc + 5));
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-01-19 8:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-19 8:59 Sven Wischnowsky [this message]
2000-01-19 11:05 ` Alexandre Duret-Lutz
-- strict thread matches above, loose matches on Subject: below --
2000-01-20 8:26 Sven Wischnowsky
2000-01-19 15:46 Sven Wischnowsky
2000-01-19 19:38 ` Peter Stephenson
2000-01-19 14:02 Sven Wischnowsky
2000-01-18 10:09 Sven Wischnowsky
2000-01-17 12:50 Sven Wischnowsky
2000-01-18 22:49 ` Tanaka Akira
2000-01-19 12:48 ` Peter Stephenson
2000-01-19 12:53 ` 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=200001190859.JAA12126@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/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).