Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12368 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21808 invoked by uid 1010); 26 Aug 2004 17:32:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6662 invoked from network); 26 Aug 2004 17:29:48 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by pb1.pair.com with SMTP; 26 Aug 2004 17:29:48 -0000 Received: (qmail 15946 invoked by uid 65534); 26 Aug 2004 17:29:47 -0000 Received: from p508408EF.dip0.t-ipconnect.de (EHLO [80.132.8.239]) (80.132.8.239) by mail.gmx.net (mp021) with SMTP; 26 Aug 2004 19:29:47 +0200 X-Authenticated: #3444402 To: internals@lists.php.net Date: Thu, 26 Aug 2004 19:30:18 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_q4hLBouTUw1qedd" Message-ID: <200408261930.19214.holliwell@gmx.net> Subject: [PATCH] some proto fixes From: holliwell@gmx.net (Friedhelm Betz) --Boundary-00=_q4hLBouTUw1qedd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, attached are proto fixes for time_nanosleep (basic_functions.c), convert_uuencode/decode (uuencode.c) and some pspell functions. (against current HEAD) Friedhelm --Boundary-00=_q4hLBouTUw1qedd Content-Type: text/plain; charset="iso-8859-1"; name="basic_functions.c.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="basic_functions.c.txt" Index: ext/standard/basic_functions.c =================================================================== RCS file: /repository/php-src/ext/standard/basic_functions.c,v retrieving revision 1.685 diff -u -r1.685 basic_functions.c --- ext/standard/basic_functions.c 19 Aug 2004 15:14:04 -0000 1.685 +++ ext/standard/basic_functions.c 26 Aug 2004 17:07:29 -0000 @@ -1755,7 +1755,7 @@ /* }}} */ #if HAVE_NANOSLEEP -/* {{{ proto mixed time_nanosleep(long seconds, long nanoseconds) +/* {{{ proto mixed time_nanosleep(int seconds, int nanoseconds) Delay for a number of seconds and nano seconds */ PHP_FUNCTION(time_nanosleep) { --Boundary-00=_q4hLBouTUw1qedd Content-Type: text/plain; charset="iso-8859-1"; name="pspell.c.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pspell.c.txt" Index: ext/pspell/pspell.c =================================================================== RCS file: /repository/php-src/ext/pspell/pspell.c,v retrieving revision 1.44 diff -u -r1.44 pspell.c --- ext/pspell/pspell.c 18 May 2004 12:32:05 -0000 1.44 +++ ext/pspell/pspell.c 26 Aug 2004 17:04:59 -0000 @@ -718,7 +718,7 @@ } /* }}} */ -/* {{{ proto bool pspell_config_mode(int conf, long mode) +/* {{{ proto bool pspell_config_mode(int conf, int mode) Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS) */ PHP_FUNCTION(pspell_config_mode) { @@ -848,7 +848,7 @@ /* }}} */ /* {{{ proto bool pspell_config_dict_dir(int conf, string directory) - location of the main word list */ + Location of the main word list */ PHP_FUNCTION(pspell_config_dict_dir) { pspell_config_path(INTERNAL_FUNCTION_PARAM_PASSTHRU, "dict-dir"); --Boundary-00=_q4hLBouTUw1qedd Content-Type: text/plain; charset="iso-8859-1"; name="uuencode.c.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="uuencode.c.txt" Index: ext/standard/uuencode.c =================================================================== RCS file: /repository/php-src/ext/standard/uuencode.c,v retrieving revision 1.4 diff -u -r1.4 uuencode.c --- ext/standard/uuencode.c 24 Aug 2004 15:25:48 -0000 1.4 +++ ext/standard/uuencode.c 26 Aug 2004 17:08:16 -0000 @@ -183,8 +183,8 @@ return -1; } -/* {{{ proto string uuencode(string data) - uuencode a string */ +/* {{{ proto string convert_uuencode(string data) + Uuencode a string */ PHP_FUNCTION(convert_uuencode) { char *src, *dst; @@ -200,8 +200,8 @@ } /* }}} */ -/* {{{ proto string uudecode(string data) - decode a uuencoded string */ +/* {{{ proto string convert_uudecode(string data) + Decode a uuencoded string */ PHP_FUNCTION(convert_uudecode) { char *src, *dst; --Boundary-00=_q4hLBouTUw1qedd--