Date: 01/12/00
- Next message: Bug Database: "[PHP-DEV] Bug #2071 Updated: Compilation error in "functions/sysvshm.c""
- Previous message: Bug Database: "[PHP-DEV] Bug #1877 Updated: Compilation fails in datetime.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
sas Wed Jan 12 10:20:01 2000 EDT
Modified files:
/php3/functions sysvshm.c
Log:
Fix --enable-sysvshm on AIX
Index: php3/functions/sysvshm.c
diff -u php3/functions/sysvshm.c:1.10 php3/functions/sysvshm.c:1.11
--- php3/functions/sysvshm.c:1.10 Fri Dec 31 20:31:17 1999
+++ php3/functions/sysvshm.c Wed Jan 12 10:20:00 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sysvshm.c,v 1.10 2000/01/01 04:31:17 sas Exp $ */
+/* $Id: sysvshm.c,v 1.11 2000/01/12 18:20:00 sas Exp $ */
/* This has been built and tested on Solaris 2.6.
* It may not compile or execute correctly on other systems.
@@ -71,10 +71,10 @@
THREAD_LS sysvshm_module php3_sysvshm_module;
+#undef shm_ptr /* undefine AIX-specific macro */
-
-static void php3i_release_sysvshm(sysvshm_shm *shm_ptr) {
-
+static void php3i_release_sysvshm(sysvshm_shm *shm_ptr)
+{
shmdt((void*)shm_ptr->ptr);
efree(shm_ptr);
}
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #2071 Updated: Compilation error in "functions/sysvshm.c""
- Previous message: Bug Database: "[PHP-DEV] Bug #1877 Updated: Compilation fails in datetime.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

