[Zope-Checkins] SVN: Zope/trunk/ collector #1431: fixed NetBSD support in initgroups.c

Andreas Jung andreas at andreas-jung.com
Mon Jul 26 07:40:57 EDT 2004


Log message for revision 26765:
  collector #1431: fixed NetBSD support in initgroups.c
  


Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/lib/Components/initgroups/initgroups.c


-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2004-07-26 09:51:56 UTC (rev 26764)
+++ Zope/trunk/doc/CHANGES.txt	2004-07-26 11:40:57 UTC (rev 26765)
@@ -129,6 +129,8 @@
 
     Bugs fixed
 
+     - Collector #1431: fixed NetBSD support in initgroups.c
+
      - Collector #1406: fixed segmentation fault by acquisition
 
      - Collector #1392: ExternalMethod ignored management_page_charset

Modified: Zope/trunk/lib/Components/initgroups/initgroups.c
===================================================================
--- Zope/trunk/lib/Components/initgroups/initgroups.c	2004-07-26 09:51:56 UTC (rev 26764)
+++ Zope/trunk/lib/Components/initgroups/initgroups.c	2004-07-26 11:40:57 UTC (rev 26765)
@@ -13,7 +13,7 @@
 
 #include "Python.h"
 
-#if defined(__unix__) || defined(unix) || defined(__MACH__) /* Mac OS X */
+#if defined(__unix__) || defined(unix) || defined(__NetBSD__) || defined(__MACH__) /* Mac OS X */
 
 #include <grp.h>
 #include <sys/types.h>



More information about the Zope-Checkins mailing list