Article View: news.software.readers
Article #2724Re: Is there a patched version of 1.5.11 (server) in existence?
From: Alan Thew
Date: Thu, 10 Dec 1992 22:56
Date: Thu, 10 Dec 1992 22:56
94 lines
3464 bytes
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
Technical Details
Message-ID:
<Bz2FpF.2Hr@liverpool.ac.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!uknet!liv!qq11References:
<1992Dec6.094212.28088@anl433.uucp>Show Full Headers
Complete Article Headers
Message-ID: <Bz2FpF.2Hr@liverpool.ac.uk> Subject: Re: Is there a patched version of 1.5.11 (server) in existence? Date: Thu, 10 Dec 1992 22:56:03 +0000 From: qq11@liverpool.ac.uk (Alan Thew) References: <1992Dec6.094212.28088@anl433.uucp> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!uknet!liv!qq11 Newsgroups: news.software.readers Organization: The University of Liverpool Lines: 94 X-Newsreader: TIN [version 1.1 PL6]