Hi, attached a patch to fix the protos for ext/sysvsem/sysvsem.c against php4 HEAD.
Regrads Friedhelm
Index: sysvsem.c =================================================================== RCS file: /repository/php-src/ext/sysvsem/sysvsem.c,v retrieving revision 1.41.2.3 diff -u -u -r1.41.2.3 sysvsem.c --- sysvsem.c 28 Aug 2003 20:01:31 -0000 1.41.2.3 +++ sysvsem.c 24 Apr 2004 19:28:18 -0000 @@ -157,7 +157,7 @@ #undef SETVAL_WANTS_PTR #endif -/* {{{ proto int sem_get(int key [, int max_acquire [, int perm [, int auto_release]]) +/* {{{ proto resource sem_get(int key [, int max_acquire [, int perm [, int auto_release]]) Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously */ PHP_FUNCTION(sem_get) { @@ -320,7 +320,7 @@ } /* }}} */ -/* {{{ proto int sem_acquire(int id) +/* {{{ proto bool sem_acquire(resource id) Acquires the semaphore with the given id, blocking if necessary */ PHP_FUNCTION(sem_acquire) { @@ -328,7 +328,7 @@ } /* }}} */ -/* {{{ proto int sem_release(int id) +/* {{{ proto bool sem_release(resource id)
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php