Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-3.0-pre2 released
- X-seq: zsh-workers 1528
- From: Wayne Davison <wayne@xxxxxxxxx>
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- Subject: Re: zsh-3.0-pre2 released
- Date: Thu, 04 Jul 1996 23:23:57 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: hzoli's message of Fri, 05 Jul 1996 00:30:20 +0200. <199607042230.AAA24166@xxxxxxxxxxxxxxxxx>
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---
Messages sorted by:
Reverse Date,
Date,
Thread,
Author