Re: [Clamav-devel] Patch to add environment variables VirusEvent called scripts

2005-03-09 Thread Calin A. Culianu
On Wed, 9 Mar 2005, Andy Fiddaman wrote: Unfortunately, not all systems implement setenv() and unsetenv() - Solaris for example. Can I suggest you re-implement this using putenv() and don't worry about clearing the environment variables after (since there's no way to do this on all systems!) Of co

Re: [Clamav-devel] Patch to add environment variables VirusEvent called scripts

2005-03-09 Thread Andy Fiddaman
On Wed, 9 Mar 2005, Calin A. Culianu wrote: ; ; This patch modifies the 'virusaction' function in clamd/others.c, as well as ; all code that refers to this function (since the prototype changed). Unfortunately, not all systems implement setenv() and unsetenv() - Solaris for example. Can I suggest