On 11/9/2007 4:10 PM, Jeremy Kister wrote:
on Solaris 9, i see:
vdelivermail.c:910: warning: implicit declaration of function `setenv'
besides the obvious, what's setenv? Who has this and where? Is there a clear way around this ?

apparently, setenv isn't near as portable as it should be.


looks like we need to test for setenv vs putenv at configure time.

reading the code, is either necessary?
     setenv("SHELL", "/bin/sh", 1);
     args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = 0;

why does the environment variable "SHELL" have to be set for in this case?


Jeremy Kister


Reply via email to