Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9550 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58572 invoked by uid 1010); 24 Apr 2004 19:34:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58528 invoked from network); 24 Apr 2004 19:34:15 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by pb1.pair.com with SMTP; 24 Apr 2004 19:34:15 -0000 Received: (qmail 21055 invoked by uid 65534); 24 Apr 2004 19:34:13 -0000 Received: from p5084014A.dip0.t-ipconnect.de (EHLO p5084014a.dip0.t-ipconnect.de) (80.132.1.74) by mail.gmx.net (mp015) with SMTP; 24 Apr 2004 21:34:13 +0200 X-Authenticated: #3444402 To: internals@lists.php.net Date: Sat, 24 Apr 2004 21:34:48 +0200 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_YFsiAqVMFTL4/e2" Message-ID: <200404242134.49503.holliwell@gmx.net> Subject: [PATCH] proto fix From: holliwell@gmx.net (Friedhelm Betz) --Boundary-00=_YFsiAqVMFTL4/e2 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, attached a patch to fix the protos for ext/sysvsem/sysvsem.c against php4 HEAD. Regrads Friedhelm --Boundary-00=_YFsiAqVMFTL4/e2 Content-Type: text/plain; charset="iso-8859-15"; name="patch_sysvsem.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch_sysvsem.txt" 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) --Boundary-00=_YFsiAqVMFTL4/e2--