On Tue, Oct 13, 2009 at 8:32 AM, Guenter Knauf <firstname.lastname@example.org>
I was just looking into the setenv / unsetenv stuff in APR, and found
that we assume that unsetenv doesnt have a return value on all
platforms. I have searched a bit, and found these:
from that it seems that there are newer versions of unsetenv() out which
return an int and set errno. I've tested this on Linux 22.214.171.124, and I
dont get an error back when I try to unsetenv a non-existent var ...
now I would like to get some info about how MacOSX and *BSD platforms
behave - see attached sample for a quick test. Form the docu at least
MacOSX should return EINVAL for a non-existent var ...