From: Wayne Davison <wayne@clari.net>
To: Zoltan Hidvegi <hzoli@cs.elte.hu>
Cc: zsh-workers@math.gatech.edu
Subject: Re: zsh-3.0-pre2 released
Date: Thu, 04 Jul 1996 23:23:57 -0700 [thread overview]
Message-ID: <199607050623.XAA05584@bebop.clari.net> (raw)
In-Reply-To: hzoli's message of Fri, 05 Jul 1996 00:30:20 +0200. <199607042230.AAA24166@bolyai.cs.elte.hu>
There's a couple simple problems with the pre2 release that cause a lot
of warnings when compiling. One is the DPUTS macro uses 'X' where it
should have 'Y'. The other is the use of an "int *" where it should be a
"pid_t *". Here's the diff.
..wayne..
---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
Index: Src/signals.c
@@ -464,7 +464,7 @@
Job jn;
Process pn;
pid_t pid;
- int *procsubpid = &cmdoutpid;
+ pid_t *procsubpid = &cmdoutpid;
int *procsubval = &cmdoutval;
struct execstack *es = exstack;
Index: Src/zsh.h
@@ -1307,7 +1307,7 @@
#ifdef DEBUG
# define DPUTS(X,Y) if (!(X)) {;} else \
- fprintf(stderr, "%s\n", X), fflush(stderr)
+ fprintf(stderr, "%s\n", Y), fflush(stderr)
# define MUSTUSEHEAP(X) if (useheap) {;} else \
fprintf(stderr, "BUG: permanent allocation in %s\n", X), \
fflush(stderr)
---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
next parent reply other threads:[~1996-07-05 6:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199607042230.AAA24166@bolyai.cs.elte.hu>
1996-07-05 6:23 ` Wayne Davison [this message]
1996-07-05 21:42 ` Clive Messer
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=199607050623.XAA05584@bebop.clari.net \
--to=wayne@clari.net \
--cc=hzoli@cs.elte.hu \
--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).