🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8979

Re: nn-6.5.2 and Redhat 5.0 fix

#8979
From: Michael T Pins
Date: Mon, 29 Jun 1998 00:00
32 lines
1575 bytes
David Flood <davidf@aa.net> writes:

>The following needs to be changed to get it to compile under RH5.0.  It
>probably can be done using an ifdef but I went for the brute force method.
>If you don't do this, nntp.c will fail with a redefinition of sys_errlist.


>--- nn-6.5.2/nntp.c~	Sat Jun 27 01:27:55 1998
>+++ nn-6.5.2/nntp.c	Sat Jun 27 01:28:19 1998
>@@ -86,9 +86,11 @@
> import int silent, no_update;
> 
> import int sys_nerr;
>+/*
> #ifndef __NetBSD__
> import char *sys_errlist[];
> #endif	/* __NetBSD__ */
>+
> extern void nn_exitmsg();
> extern void sys_error();
> extern int sys_warning();

What does RedHat use as a selfdefining symbol (ie __NetBSD__)?

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Technical Details
Message-ID: <YZNl1.2070$P8.7344768@ptah.visi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <Pine.LNX.3.96.980628153026.649A-100000@server.davidf.aa.net>

Show Full Headers
Complete Article Headers
Message-ID: <YZNl1.2070$P8.7344768@ptah.visi.com>
Subject: Re: nn-6.5.2 and Redhat 5.0 fix
Date: Mon, 29 Jun 1998 00:00:00 +0000
From: mtpins@visi.com (Michael T Pins)
References: <Pine.LNX.3.96.980628153026.649A-100000@server.davidf.aa.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 367111894
NNTP-Posting-Date: Mon, 29 Jun 1998 10:00:08 CDT
Newsgroups: news.software.nn