🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Casper H.S. Dik Tue, 18 Sep 1990 14:23
nn 6.4.10 won't compile on SunOS 4.1 & fix.
#915
Author: Casper H.S. Dik
Date: Tue, 18 Sep 1990 14:23
33 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads