From: Irving_Wolfe@Happy-Man.com
To: Geoff Wing <mason@primenet.com.au>
Cc: zsh-workers@sunsite.auc.dk, i-a-o@Happy-Man.com
Subject: Re: Couldn't Build 3.1.6 on Nextstep 3.3 m68k System
Date: Sun, 1 Aug 1999 23:52:17 -0700 [thread overview]
Message-ID: <19990801235217.J13052@Happy-Man.com> (raw)
In-Reply-To: <slrn7qadb5.3pf.mason@coral.primenet.com.au>; from Geoff Wing on Mon, Aug 02, 1999 at 06:06:29AM +0000
Thanks for the great help!
On Mon, Aug 02, 1999 at 06:06:29AM +0000, Geoff Wing wrote:
>
> Try the following; with F_GETFL, all args are ignored anyway.
>
>
> --- Src/init.c.org Wed Jun 30 02:33:52 1999
> +++ Src/init.c Mon Aug 2 16:05:27 1999
> @@ -353,7 +353,7 @@
> * Try both stdin and stdout before trying /dev/tty. -- Bart
> */
> #if defined(HAVE_FCNTL_H) && defined(F_GETFL)
> -#define rdwrtty(fd) ((fcntl(fd, F_GETFL) & O_RDWR) == O_RDWR)
> +#define rdwrtty(fd) ((fcntl(fd, F_GETFL, 0) & O_RDWR) == O_RDWR)
> #else
> #define rdwrtty(fd) 1
> #endif
That worked for init.c, but I had to make
a similar change in utils.c:
--- /Maurice/irving/todelete/01utils.c Sun Aug 1 23:27:41 1999
+++ Src/utils.c Sun Aug 1 23:28:36 1999
@@ -1249,7 +1249,7 @@
long mode;
if (!fstat(0, &st) && !S_ISREG(st.st_mode)) {
- mode = fcntl(0, F_GETFL);
+ mode = fcntl(0, F_GETFL, 0);
if (mode != -1 && (mode & NONBLOCK) &&
!fcntl(0, F_SETFL, mode & ~NONBLOCK))
return 1;
Then, zsh was built (and seems to run okay)
but my "make" still failed:
cc -s -o zsh main.o `cat stamp-modobjs` -ltermcap
makeinfo ./zsh.texi; exit 0
Making info file `zsh.info' from `./zsh.texi'.
./zsh.texi:19: Unknown info command `dircategory'.
./zsh.texi:20: Unknown info command `direntry'.
./zsh.texi:23: Bad argument to `end', `direntry', using `ifinfo'.
./zsh.texi:23: Unmatched `@end'.
*** Exit 2
*** `zsh.info' removed
Stop.
*** Exit 1
If there is anything after that info step,
I wonder if it should fail more gracefully,
since even FSF's efforts haven't gotten me
to read info files very often.
Regards,
- Irving
next prev parent reply other threads:[~1999-08-02 6:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-02 4:45 Irving Wolfe
1999-08-02 4:51 ` Timothy J Luoma
1999-08-02 5:57 ` Irving_Wolfe
1999-08-02 6:06 ` Geoff Wing
1999-08-02 6:52 ` Irving_Wolfe [this message]
1999-08-02 7:51 ` Peter Stephenson
1999-08-02 9:29 ` Bart Schaefer
1999-08-02 9:01 ` Peter Stephenson
1999-08-05 5:48 ` Andrej Borsenkow
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=19990801235217.J13052@Happy-Man.com \
--to=irving_wolfe@happy-man.com \
--cc=i-a-o@Happy-Man.com \
--cc=mason@primenet.com.au \
--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).