🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Alan Thew Sun, 06 Dec 1992 01:24
Is there a patched version of 1.5.11 (server) in existence?
#2525
Author: Alan Thew
Date: Sun, 06 Dec 1992 01:24
9 lines
907 bytes
I am trying to apply the tin 1.17 patches to nntp 1.5.11 but patch
gives up in places. Clearly the 1.5.11 that I have (and have checked with
at a major archive site) is not the same as the one Iain Lea has.
The routine in question is timer.c which failed at tin 1.16 under SunOS 4.1.2.

Thanks for any help.
-- 
Alan Thew
alan.thew@liverpool.ac.uk   ...!uknet!liv!alan.thew   +44 51 794 3735
Re: Is there a patched version of 1.5.11 (server) in existence?
#2528
Author: Iain Lea
Date: Sun, 06 Dec 1992 09:42
20 lines
1673 bytes
Alan Thew (qq11@liverpool.ac.uk) wrote:
:
: I am trying to apply the tin 1.17 patches to nntp 1.5.11 but patch
: gives up in places. Clearly the 1.5.11 that I have (and have checked with
: at a major archive site) is not the same as the one Iain Lea has.
:
: The routine in question is timer.c which failed at tin 1.16 under SunOS 4.1.2.

The version of nntp 1.5.11 that I use as my reference is ftp'able from
ftp.Germany.EU.net in /pub/news/nntp.

I have just created a new patchkit this week. When I applied it to the
virgin nntp code patch did not complain about any failed/fuzzy chunks.

Iain

--
NAMES  Iain Lea    Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Re: Is there a patched version of 1.5.11 (server) in existence?
#2724
Author: Alan Thew
Date: Thu, 10 Dec 1992 22:56
94 lines
3464 bytes
[ Iain, sorry if you mailed me back but I lost a day's mail spool and this is
  being posted to see if I'm the only one having trouble in this area...]

Iain Lea (Iain.Lea%anl433.uucp@Germany.EU.net) wrote:
: Alan Thew (qq11@liverpool.ac.uk) wrote:
: :
: : I am trying to apply the tin 1.17 patches to nntp 1.5.11 but patch
: : gives up in places. Clearly the 1.5.11 that I have (and have checked with
: : at a major archive site) is not the same as the one Iain Lea has.
: :
: : The routine in question is timer.c which failed at tin 1.16 under SunOS 4.1.2.
: 
: The version of nntp 1.5.11 that I use as my reference is ftp'able from
: ftp.Germany.EU.net in /pub/news/nntp.
: 
: I have just created a new patchkit this week. When I applied it to the
: virgin nntp code patch did not complain about any failed/fuzzy chunks.
I have tried with the tin-1.18.tar file and nntp-1.5.11 from the above
ftp site and still get errors with timer.c, the following patches are
rejected with the error:

Patching file timer.c using Plan A...
Reversed (or previously applied) patch detected!  Assume -R? [y]
Hunk #1 succeeded at 6.
Hunk #2 failed at 18.
Hunk #3 succeeded at 27 (offset -3 lines).
Hunk #4 failed at 72.
Hunk #5 failed at 86.
Hunk #6 succeeded at 117 (offset -3 lines).
3 out of 6 hunks failed--saving rejects to timer.c.rej


***************
*** 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)))
--- 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)))
***************
*** 69,75 ****
  	register int i, n;
  	register struct timer *tp;
  	register long secs;
! #if defined(USG) && !defined(ISC)
  	long timeout;
  	long readfds;
  #else
--- 72,78 ----
  	register int i, n;
  	register struct timer *tp;
  	register long secs;
! #ifndef BSDSELECT
  	long timeout;
  	long readfds;
  #else
***************
*** 83,89 ****
  		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 &&
--- 86,92 ----
  		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 &&
-- 
Alan Thew
alan.thew@liverpool.ac.uk   ...!uknet!liv!alan.thew   +44 51 794 3735
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