Article View: news.software.nntp
Article #18828Re: actived
From: Joe Greco
Date: Sat, 28 Jun 1997 00:00
Date: Sat, 28 Jun 1997 00:00
54 lines
2906 bytes
2906 bytes
In news.software.nntp article <5os3pj$ogg$1@node17.cwnet.frontiernet.net>, dsf@node6.frontiernet.net (Dan Foster) wrote:
:>> Is it working now? Inquiring minds want to know. Anyone who's using it
:>> and thinks it's {the greatest thing since sliced bread, sorta okay,
:>> the crummiest bit of code ever written} could drop me a note and let
:>> me know what you think. :-)
:
:It's the greatest thing since the wheel was invented! ;-)
That's pretty impressive.
:Works great here! I'm thinking that it might make a nice template for
:an hack to use a SQL server for history lookups (which might be more
:portable and faster in the long run) rather than using DBZ... and doing the
:hack with as little code change to INN/diablo as possible.
I played with that, actually... didn't have time to get very far, but
the concept is (potentially) sound.
:Folks - have a question. On SysV boxes, how did you manage to compile
:the package? I couldn't find the BSD daemon() call for AIX 4.2.1 (or 4.1.4),
:so I just grabbed the daemon() function from FreeBSD 2.2.2's libc source
:and added it. ;-) (Works well, but was wondering if there was another way
:I was supposed to do it, is all.)
daemon() is a 44ism, obviously, sorry, I didn't originally intend for
this code to be shipped to the world. It should be trivial to throw
together the appropriate changes.. or if you don't mind it not
automatically making itself a daemon, you can remove the call and
simply run "actived &".
:>Has anyone successfully compiled actived under sparc solaris 2.5.1? Mine
:>barely gets started before puking on
:>
:>actived.c: In function `handle':
:>actived.c:30: `MSG_WAITALL' undeclared (first use this function)
:
:That's got to do with sockets.
:
:On an AIX 4.1.4 box, it's defined in <sys/socket.h>
:
:Do a grep for MSG_WAITALL in /usr/include/*.h and /usr/include/*/*.h if
:you can't find any other documentation on it on your Solaris 2.5.1 box.
:
:Worst case, you might need to also include -lsocket to libs.. (Solaris
:is becoming a vague memory for me now.)
I think it was decided that it was safe to do away with this. I just
have a bad habit of trying to code in a paranoid way.
... JG
Technical Details
Message-ID:
<5p41o7$jk0$1@earth.execpc.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:
<33A6B41D.3382@iconnet.net> <5oeh5s$rgk$1@earth.execpc.com> <5opppm$i2p$1@news.wco.com> <5os3pj$ogg$1@node17.cwnet.frontiernet.net>Show Full Headers
Complete Article Headers
Message-ID: <5p41o7$jk0$1@earth.execpc.com> Subject: Re: actived Date: Sat, 28 Jun 1997 00:00:00 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <33A6B41D.3382@iconnet.net> <5oeh5s$rgk$1@earth.execpc.com> <5opppm$i2p$1@news.wco.com> <5os3pj$ogg$1@node17.cwnet.frontiernet.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: 253295569 Sender: jgreco@earth.execpc.com Organization: sol.net Network Services - Milwaukee, WI Newsgroups: news.software.nntp