Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: DEC Alpha - Digital Unix 3.0 - Re: Diff file for 3.1.6-test-2 available
- X-seq: zsh-workers 7202
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: DEC Alpha - Digital Unix 3.0 - Re: Diff file for 3.1.6-test-2 available
- Date: Mon, 19 Jul 1999 16:37:04 +0200
- In-reply-to: "Irving_Wolfe@xxxxxxxxxxxxx"'s message of "Mon, 19 Jul 1999 07:47:30 DFT." <19990719074730.H326@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Irving_Wolfe@xxxxxxxxxxxxx wrote:
> My "make all" ended with:
>
> gcc -c -I. -DHAVE_CONFIG_H -DMODULE -Wall -Wno-implicit -Wmissing-prototypes
> -O2 -fpic -o clone..o clone.c
> clone.c: In function `bin_clone':
> clone.c:64: too few arguments to function `ioctl'
> *** Exit 1
> Stop.
Don't see why ioctl() shouldn't have three arguments, like it does
everywhere else in the code --- some manual pages specify this --- but it's
weird this hasn't shown up before. Maybe it's got something to do with the
difference between varargs and stdarg?
--- Src/Modules/clone.c.ioc Thu Dec 17 12:17:01 1998
+++ Src/Modules/clone.c Mon Jul 19 16:26:35 1999
@@ -61,7 +61,7 @@
zwarnnam(nam, "failed to create new session: %e", NULL, errno);
#endif
#ifdef TIOCNOTTY
- if (ioctl(SHTTY, TIOCNOTTY))
+ if (ioctl(SHTTY, TIOCNOTTY, 0))
zwarnnam(nam, "%e", NULL, errno);
setpgrp(0L, mypid);
#endif
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author