Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Undefined Symbol SetEnvironmentVariableA

From: David Norris <dave(at)>
Date: Fri Mar 13 2009 - 05:08:09 GMT
Actually, there is no setenv() on HP-UX and setenv.c is currently
win32 specific.  So the error is valid.  swish-e can't compile on
hp-ux as it stands.

We could rewrite setenv() to wrap around putenv() instead.  putenv()
is available on both HP-UX and Win32.

However, we chose not to do so originally because putenv() is an awful
and insecure function.  It would be convoluted to make it work
correctly.  However, if we have no other option...

   David L Norris
Users mailing list
Received on Fri Mar 13 01:08:08 2009