[Zope-dev] initgroups

Dieter Maurer dieter@handshake.de
Tue, 15 Apr 2003 22:01:12 +0200


David Cooper wrote at 2003-4-14 18:14 -0700:
 > On upgrading to ZOPE 2.6.1 on HP-UX I get problems with the daemon not
 > switching user. This is caused by the compilation of initgroups not passing
 > 
 > #if defined(__unix__) || defined(unix)
 > 
 > This appears to be the only place where unix or __unix__ is expected to be
 > defined. Where is it expected to be set.

Usually, the compiler (preprocessor) defines some macros
describing the platform.

Usually, it defines either "__unix__" or "unix" on unix like platforms...


Dieter