🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Goh Ok-Hee Fri, 25 Mar 1994 04:22
Error message : "Connection to server broken"
#8239
Author: Goh Ok-Hee
Date: Fri, 25 Mar 1994 04:22
82 lines
2733 bytes
How are you ?
I was tring to install tin-1.22 and patch NNTP1.5.11 with
INSTALL.NNTP provided in tin-1.22.

But during patching NNTP1.5.11, I met error message in timer.c of NNTP1.5.11.
It makes timer.c.rej.
And I updated timer.c file manaually, I succeed to compiling the NNTP1.5.11.
But it is operated abnormally.
 
If I run tin or rn , it is ended with following message.

Connecting to sun330.snu.ac.kr...
Connection to server broken.

Tin has no problem. Only the NNTP1.5.11 patching with INSTALL.NNTP provided in tin-1.22 has problem. ( the NNTP1.5.11 not patching is well)

What's problem?

please reply to me directly.

------------timer.c.rej ---------------
 
***************
*** 18,29 ****
  #ifdef TIMERS
  #include <sys/time.h>
  #include "timer.h"
! #ifdef USG
! #ifdef LAI_TCP
  #include <sys/bsdtypes.h>
- #define BSDSELECT
  #endif
! #else
  #ifndef FD_SETSIZE
  /* Forward compatability */
  #define FD_SET(n, p)    ((p)->fds_bits[0] |= (1<<(n)))
--- 18,27 ----
  #ifdef TIMERS
  #include <sys/time.h>
  #include "timer.h"
! #ifdef ISC
  #include <sys/bsdtypes.h>
  #endif
! #ifndef USG
  #ifndef FD_SETSIZE
  /* Forward compatability */
  #define FD_SET(n, p)    ((p)->fds_bits[0] |= (1<<(n)))
***************
*** 70,76 ****
  	register int i, n;
  	register struct timer *tp;
  	register long secs;
! #ifndef BSDSELECT
  	long timeout;
  	long readfds;
  #else
--- 67,73 ----
  	register int i, n;
  	register struct timer *tp;
  	register long secs;
! #if defined(USG) && !defined(ISC)
  	long timeout;
  	long readfds;
  #else
***************
*** 84,90 ****
  		return(1);
  
  	/* Length of next timeout is minimum of all "timers" */
! #ifndef BSDSELECT
  	timeout = -1;
  	for (i = ntimer, tp = timers; i > 0; --i, ++tp)
  		if (tp->left >= 0 &&
--- 81,87 ----
  		return(1);
  
  	/* Length of next timeout is minimum of all "timers" */
! #if defined(USG) && !defined(ISC)
  	timeout = -1;
  	for (i = ntimer, tp = timers; i > 0; --i, ++tp)
  		if (tp->left >= 0 &&
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