Article View: news.software.nntp
Article #11831small patch to INN 1.5b1 for SGI Irix
From: Robert Keller
Date: Tue, 22 Oct 1996 00:00
Date: Tue, 22 Oct 1996 00:00
60 lines
2359 bytes
2359 bytes
I've gotten a few email messages asking about INN 1.5b1 on IRIX.
The below patch when applied to 1.5b1 when using a proper config
.data (as is mostly available from my "INN on IRIX" web page)
results in a running INN 1.5b1 server.
I've forwarded both items to james, so the problems should no
longer be an issue in the final version of INN 1.5 .
I have yet to do any really heavy testing of 1.5b1 so I really
don't know if there are other gotchas or not at this point.
...robert
diff -rc ../inn-1.5b1-orig/lib/Makefile ./lib/Makefile
*** ../inn-1.5b1-orig/lib/Makefile Sat Sep 28 10:39:12 1996
--- ./lib/Makefile Tue Oct 22 11:49:44 1996
***************
*** 127,133 ****
dbz.c: $(DBZDIR)/dbz.c dbz.pch
@rm -f dbz.c
cat $(DBZDIR)/dbz.c >dbz.c
! patch -b .orig -s <dbz.pch
$(IFTRUE) '-f dbz.c.rej' $(NOPATCH)
$(IFTRUE) '! -f dbz.c.orig' $(NOPATCH)
rm -f dbz.c.orig
--- 127,133 ----
dbz.c: $(DBZDIR)/dbz.c dbz.pch
@rm -f dbz.c
cat $(DBZDIR)/dbz.c >dbz.c
! patch -s <dbz.pch
$(IFTRUE) '-f dbz.c.rej' $(NOPATCH)
$(IFTRUE) '! -f dbz.c.orig' $(NOPATCH)
rm -f dbz.c.orig
diff -rc ../inn-1.5b1-orig/lib/inndcomm.c ./lib/inndcomm.c
*** ../inn-1.5b1-orig/lib/inndcomm.c Sat Sep 28 10:39:12 1996
--- ./lib/inndcomm.c Wed Oct 16 20:55:04 1996
***************
*** 234,239 ****
--- 234,240 ----
/* Send message. */
ICCfailure = NULL;
len = p - buff + HEADER_SIZE ;
+ rlen = htons (len) ;
/* now stick in the protocol version and the length. */
buff -= HEADER_SIZE;
***************
*** 242,248 ****
memcpy (buff,&protocol,sizeof (protocol)) ;
buff += sizeof (protocol) ;
- rlen = htons (len) ;
memcpy (buff,&rlen,sizeof (rlen)) ;
buff += sizeof (rlen) ;
--- 243,248 ----
Technical Details
Message-ID:
<54j63j$3i@fido.asd.sgi.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <54j63j$3i@fido.asd.sgi.com> Subject: small patch to INN 1.5b1 for SGI Irix Date: Tue, 22 Oct 1996 00:00:00 +0000 From: rck@fangio.asd.sgi.com (Robert Keller) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 191294533 Organization: Silicon Graphics, Inc., Mountain View, CA Newsgroups: news.software.nntp