Article View: news.software.nntp
Article #41412Re: standalone inews?
From: Paul D. Smith
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
34 lines
2393 bytes
2393 bytes
Ah, perfect!
Yeah, well, OK, I do use Solaris and I did have to tweak a few things to
get it built.
But, it works a picture! I should have known to try Fluffy's site
first. Duh.
PS. Probs in brief for those who care:
- The prototype for getopt on Solaris is:
extern int getopt(int, char *const *, const char *);
which doesn't work with the getopt provided with new-inews
(problems in the prototype in inews.c and in the actual getopt.c
file). I commented it out of inews and changed the function in
getopt.c.
- The prototype for lower() in strneql() doesn't match the actual
declaration later on in inews.c (if you want it to take a char
instead of an int you have to always use prototypes to avoid
integer promotion rules). I commented it out.
- Need to #include <sys/types.h> before <sys/socket.h> in clientlib.c
- Need to add -lsocket -lnsl to the link line.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
Technical Details
Message-ID:
<p5k8nrxuho.fsf@baynetworks.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-mailReferences:
<p5wvrrzhp1.fsf@baynetworks.com> <s2gu25nn6i747@news.supernews.com> <87puxje97q.fsf@slip-32-101-27-9.ma.us.prserv.net>Show Full Headers
Complete Article Headers
Message-ID: <p5k8nrxuho.fsf@baynetworks.com> Subject: Re: standalone inews? Date: Tue, 09 Nov 1999 00:00:00 +0000 From: psmith@baynetworks.com (Paul D. Smith) References: <p5wvrrzhp1.fsf@baynetworks.com> <s2gu25nn6i747@news.supernews.com> <87puxje97q.fsf@slip-32-101-27-9.ma.us.prserv.net> 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: 546597020 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@spinner.corpeast.baynetworks.com X-Trace: spinner.corpeast.baynetworks.com 942180452 20189 192.32.148.86 (9 Nov 1999 20:47:32 GMT) Organization: Bay Networks, Inc. / Billerica, MA Mime-Version: 1.0 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.4 Reply-To: psmith@baynetworks.com NNTP-Posting-Date: 9 Nov 1999 20:47:32 GMT Newsgroups: news.software.nntp