cvs: php-src /ext/posix config.m4 posix.c

From: Date: Mon, 06 Jun 2005 22:04:16 +0000
Subject: cvs: php-src /ext/posix config.m4 posix.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-32135@lists.php.net to get a copy of this message
wez Mon Jun 6 18:04:16 2005 EDT Modified files: /php-src/ext/posix config.m4 posix.c Log: fix build on Solaris http://cvs.php.net/diff.php/php-src/ext/posix/config.m4?r1=1.9&r2=1.10&ty=u Index: php-src/ext/posix/config.m4 diff -u php-src/ext/posix/config.m4:1.9 php-src/ext/posix/config.m4:1.10 --- php-src/ext/posix/config.m4:1.9 Fri May 13 17:38:17 2005 +++ php-src/ext/posix/config.m4 Mon Jun 6 18:04:14 2005 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.9 2005/05/13 21:38:17 magnus Exp $ +dnl $Id: config.m4,v 1.10 2005/06/06 22:04:14 wez Exp $ dnl PHP_ARG_ENABLE(posix,whether to enable POSIX-like functions, @@ -9,5 +9,7 @@ AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions]) PHP_NEW_EXTENSION(posix, posix.c, $ext_shared) + AC_CHECK_HEADERS(sys/mkdev.h) + AC_CHECK_FUNCS(seteuid setegid setsid getsid setpgid getpgid ctermid mkfifo mknod getrlimit getlogin getgroups) fi http://cvs.php.net/diff.php/php-src/ext/posix/posix.c?r1=1.66&r2=1.67&ty=u Index: php-src/ext/posix/posix.c diff -u php-src/ext/posix/posix.c:1.66 php-src/ext/posix/posix.c:1.67 --- php-src/ext/posix/posix.c:1.66 Fri May 13 17:38:17 2005 +++ php-src/ext/posix/posix.c Mon Jun 6 18:04:14 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: posix.c,v 1.66 2005/05/13 21:38:17 magnus Exp $ */ +/* $Id: posix.c,v 1.67 2005/06/06 22:04:14 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -44,6 +44,9 @@ #include <errno.h> #include <grp.h> #include <pwd.h> +#if HAVE_SYS_MKDEV_H +# include <sys/mkdev.h> +#endif ZEND_DECLARE_MODULE_GLOBALS(posix) @@ -140,7 +143,7 @@ static PHP_MINFO_FUNCTION(posix) { php_info_print_table_start(); - php_info_print_table_row(2, "Revision", "$Revision: 1.66 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.67 $"); php_info_print_table_end(); } /* }}} */

« previous php.cvs (#32135) next »