From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
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 [thread overview]
Message-ID: <9907191437.AA34541@ibmth.df.unipi.it> (raw)
In-Reply-To: "Irving_Wolfe@Happy-Man.com"'s message of "Mon, 19 Jul 1999 07:47:30 DFT." <19990719074730.H326@Happy-Man.com>
Irving_Wolfe@Happy-Man.com 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@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
next prev parent reply other threads:[~1999-07-19 15:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9907191000.AA13440@ibmth.df.unipi.it>
1999-07-19 14:47 ` Irving_Wolfe
1999-07-19 14:37 ` Peter Stephenson [this message]
1999-07-19 16:31 ` Tanaka Akira
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=9907191437.AA34541@ibmth.df.unipi.it \
--to=pws@ibmth.df.unipi.it \
--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).