a tiny fix to Python hooks in INN

greg andruk gerglery at usa.net
Thu Dec 2 11:20:58 UTC 1999


On Thu, 2 Dec 1999, Ilya Etingof wrote:

> While being coding Python authentication hooks into nnrpd, I've noticed
> that configure.in doesn't link in libraries used by [optional] compiled 
> in Python modules.

Oh, the dynamic stuff.  Yeah, I'd been assuming a lib with the modules
compiled in statically, only because that's the way I do it =)

> Also, setenv(3) function (used in innd/python.c) doesn't exist on SysV
> machines so I coded a plug-in replacement for it.

Hmm.  Perhaps a cleaner way around this problem would be to use putenv().
Funny, I never realized setenv() was a Berkeleyism.



More information about the inn-workers mailing list