iliaa           Mon Jun 19 23:52:39 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/posix  posix.c 
  Log:
  Added missing ifdef block.
  
  # Thanks Mike
  
http://cvs.php.net/viewvc.cgi/php-src/ext/posix/posix.c?r1=1.70.2.3.2.2&r2=1.70.2.3.2.3&diff_format=u
Index: php-src/ext/posix/posix.c
diff -u php-src/ext/posix/posix.c:1.70.2.3.2.2 
php-src/ext/posix/posix.c:1.70.2.3.2.3
--- php-src/ext/posix/posix.c:1.70.2.3.2.2      Mon Jun 19 02:19:13 2006
+++ php-src/ext/posix/posix.c   Mon Jun 19 23:52:39 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: posix.c,v 1.70.2.3.2.2 2006/06/19 02:19:13 iliaa Exp $ */
+/* $Id: posix.c,v 1.70.2.3.2.3 2006/06/19 23:52:39 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -147,7 +147,7 @@
 static PHP_MINFO_FUNCTION(posix)
 {
        php_info_print_table_start();
-       php_info_print_table_row(2, "Revision", "$Revision: 1.70.2.3.2.2 $");
+       php_info_print_table_row(2, "Revision", "$Revision: 1.70.2.3.2.3 $");
        php_info_print_table_end();
 }
 /* }}} */
@@ -1059,6 +1059,7 @@
 
 #endif
 
+#ifdef HAVE_INITGROUPS
 /* {{{ proto bool initgroups(string name, int base_group_id)
    Calculate the group access list for the user specified in name. */
 PHP_FUNCTION(posix_initgroups)
@@ -1074,6 +1075,7 @@
        RETURN_BOOL(!initgroups((const char *)name, basegid));
 }
 /* }}} */
+#endif
 
 /*
  * Local variables:

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to