[Zope-Checkins] CVS: Zope/lib/Components/initgroups -
initgroups.c:1.3.66.1
Stefan H. Holek
stefan at epy.co.at
Fri May 7 06:48:01 EDT 2004
Update of /cvs-repository/Zope/lib/Components/initgroups
In directory cvs.zope.org:/tmp/cvs-serv8820/lib/Components/initgroups
Modified Files:
Tag: Zope-2_7-branch
initgroups.c
Log Message:
Collector #1159: Added test for __MACH__ to initgroups.c so the
initgroups method becomes available on Mac OS X.
=== Zope/lib/Components/initgroups/initgroups.c 1.3 => 1.3.66.1 ===
--- Zope/lib/Components/initgroups/initgroups.c:1.3 Thu Jul 25 17:54:02 2002
+++ Zope/lib/Components/initgroups/initgroups.c Fri May 7 06:47:59 2004
@@ -13,7 +13,7 @@
#include "Python.h"
-#if defined(__unix__) || defined(unix)
+#if defined(__unix__) || defined(unix) || defined(__MACH__) /* Mac OS X */
#include <grp.h>
#include <sys/types.h>
More information about the Zope-Checkins
mailing list