Article View: news.software.nn
Article #915nn 6.4.10 won't compile on SunOS 4.1 & fix.
From: Casper H.S. Dik
Date: Tue, 18 Sep 1990 14:23
Date: Tue, 18 Sep 1990 14:23
33 lines
1276 bytes
1276 bytes
With SunOS 4.1 (and probably others) term.c no longer compiles.
(A variable is declared after the first statement in a function,
in som circumstances)
here's a fix:
diff -c term.c.org term.c
*** term.c.org Tue Sep 18 14:20:22 1990
--- term.c Tue Sep 18 14:52:11 1990
***************
*** 825,832 ****
do_flush_input = 1;
#else
#ifdef FREAD
! int arg = FREAD;
! ioctl(0, TIOCFLUSH, &arg);
#else
ioctl(0, TIOCFLUSH, 0);
#endif
--- 825,834 ----
do_flush_input = 1;
#else
#ifdef FREAD
! {
! int arg = FREAD;
! ioctl(0, TIOCFLUSH, &arg);
! }
#else
ioctl(0, TIOCFLUSH, 0);
#endif
--
Casper H.S. Dik, casper@fwi.uva.nl, NIC: !cd151
Technical Details
Message-ID:
<1272@carol.fwi.uva.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!hp4nl!fwi.uva.nl!casperShow Full Headers
Complete Article Headers
Message-ID: <1272@carol.fwi.uva.nl> Subject: nn 6.4.10 won't compile on SunOS 4.1 & fix. Date: Tue, 18 Sep 1990 14:23:39 +0000 From: casper@fwi.uva.nl (Casper H.S. Dik) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!hp4nl!fwi.uva.nl!casper Newsgroups: news.software.nn Keywords: patch nn Sender: news@fwi.uva.nl Lines: 33 Posted: Tue Sep 18 15:23:39 1990