[PHP4BETA] CVS update: php4/ext/sysvsem
| From: | sas | Date: | Fri, 21 May 1999 08:20:12 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/sysvsem | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-928@lists.php.net to get a copy of this message | ||
Date: Friday May 21, 1999 @ 4:20
Author: sas
Update of /repository/php4/ext/sysvsem
In directory php:/tmp/cvs-serv23033/ext/sysvsem
Modified Files:
php3_sysvsem.h sysvsem.c
Log Message:
- fix compile issues for various packages (dbase, sysv*, zlib)
- some cleanup in mhash/mcrypt
Index: php4/ext/sysvsem/php3_sysvsem.h
diff -u php4/ext/sysvsem/php3_sysvsem.h:1.1 php4/ext/sysvsem/php3_sysvsem.h:1.2
--- php4/ext/sysvsem/php3_sysvsem.h:1.1 Wed Apr 21 22:48:26 1999
+++ php4/ext/sysvsem/php3_sysvsem.h Fri May 21 04:20:12 1999
@@ -28,7 +28,7 @@
*/
-/* $Id: php3_sysvsem.h,v 1.1 1999/04/22 02:48:26 ssb Exp $ */
+/* $Id: php3_sysvsem.h,v 1.2 1999/05/21 08:20:12 sas Exp $ */
#ifndef _PHP3_SYSVSEM_H
#define _PHP3_SYSVSEM_H
@@ -70,5 +70,7 @@
#define sysvsem_module_ptr NULL
#endif
+
+#define phpext_sysvsem_ptr sysvsem_module_ptr
#endif /* _PHP3_SYSVSEM_H */
Index: php4/ext/sysvsem/sysvsem.c
diff -u php4/ext/sysvsem/sysvsem.c:1.3 php4/ext/sysvsem/sysvsem.c:1.4
--- php4/ext/sysvsem/sysvsem.c:1.3 Fri May 21 04:04:35 1999
+++ php4/ext/sysvsem/sysvsem.c Fri May 21 04:20:12 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sysvsem.c,v 1.3 1999/05/21 08:04:35 sas Exp $ */
+/* $Id: sysvsem.c,v 1.4 1999/05/21 08:20:12 sas Exp $ */
/* This has been built and tested on Solaris 2.6 and Linux 2.1.122.
* It may not compile or execute correctly on other systems.
@@ -35,9 +35,7 @@
* sas: Works for me on Linux 2.0.36 and FreeBSD 3.0-current
*/
-#ifndef MSVC5
-#include "php_config.h"
-#endif
+#include "php.h"
#if HAVE_SYSVSEM
@@ -46,7 +44,6 @@
#include <sys/sem.h>
#include <errno.h>
-#include "php.h"
#include "php3_sysvsem.h"
#if !HAVE_SEMUN && defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ == 6
@@ -70,7 +67,7 @@
{NULL, NULL, NULL}
};
-php3_module_entry sysvsem_module_entry = {
+zend_module_entry sysvsem_module_entry = {
"System V semaphores", sysvsem_functions, php3_minit_sysvsem, NULL, NULL, NULL, NULL,
STANDARD_MODULE_PROPERTIES
};
--
PHP 4 Beta