Thread View: news.software.nn
2 messages
2 total messages
Started by David Flood
Sun, 28 Jun 1998 00:00
nn-6.5.2 and Redhat 5.0 fix
Author: David Flood
Date: Sun, 28 Jun 1998 00:00
Date: Sun, 28 Jun 1998 00:00
25 lines
1194 bytes
1194 bytes
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();
Re: nn-6.5.2 and Redhat 5.0 fix
Author: Michael T Pins
Date: Mon, 29 Jun 1998 00:00
Date: Mon, 29 Jun 1998 00:00
32 lines
1575 bytes
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> *
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