setenv.c in recent 2.3 snapshot

Ilya Etingof ilya at
Tue Dec 7 08:01:11 UTC 1999

It looks like setenv() saves a few lines of code (malloc() buffer for
putenv() argument, var=value formatting) if used more than one time
throughout the INN (I used setenv() in my nnrpd/python.c which is still
in development).

> I think I'm still confused as to why we're doing things this way.
> Wouldn't it be much easier to just replace the calls to putenv() in the
> Python linkage code with calls to setenv() and then not have to maintain
> our own replacement?  INN already uses setenv() all over the place.

More information about the inn-workers mailing list