Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh-3.0-pre2 cores on irix 5.3 (?)



Bart wrote:
> On Jul 6,  1:52pm, Andreas Koenig wrote:
> } Subject: zsh-3.0-pre2 cores on irix 5.3 (?)
> }
> } As I had to rebuild my whole irix 5.3 from both CDROM and backup
> } tapes, this may be a due to a misconfiguration of my
> } machine. Nonetheless, recompiling beta19 works, pre2 results in a
> } core.
> } 
> } exec.c: In function `execcmd':
> } exec.c:1318: warning: format argument is not a pointer (arg 3)
> 
> That (and the core dump) are almost certainly from the DPUTS() typo
> that someone (Wayne?) already reported:

That patch from Wayne also containd a patch to signals.c.  If int and pid_t
are different it may be the problem.  For me, with these patches it works:

digo ~ % uname -a
IRIX digo 5.3 11091812 IP22 mips
digo ~ % echo $ZSH_VERSION 
3.0-pre2

Zoltan


--- Src/signals.c	1996/07/04 19:40:08	2.12
+++ Src/signals.c	1996/07/05 20:52:22	2.13
@@ -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;
 




Messages sorted by: Reverse Date, Date, Thread, Author