Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10102 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45496 invoked by uid 1010); 26 May 2004 19:20:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45387 invoked from network); 26 May 2004 19:20:10 -0000 Received: from unknown (HELO smtp.unet.ru) (213.219.244.56) by pb1.pair.com with SMTP; 26 May 2004 19:20:10 -0000 Received: from host.phpclub.net by smtp.unet.ru (8.12.9/Unet) with ESMTP id i4QJK9Y4096807 for ; Wed, 26 May 2004 23:20:09 +0400 (MSD) Received: from armada by host.phpclub.net (8.12.6/Unet) with ESMTP id i4QJJwPn059862 for ; Wed, 26 May 2004 23:20:02 +0400 (MSD) Date: Wed, 26 May 2004 23:15:52 +0400 To: internals@lists.php.net Message-ID: <20040526231552.75046fd2.tony2001@phpclub.net> X-Mailer: Sylpheed version 0.9.10cvs12 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Wed__26_May_2004_23_15_52_+0400_/sg.6iBzjEg.c4nv" Subject: [PATCH] fix couple of typos in main/streams/ From: tony2001@phpclub.net (Antony Dovgal) --Multipart=_Wed__26_May_2004_23_15_52_+0400_/sg.6iBzjEg.c4nv Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi all! This tiny patch will fix compile warnings in ext/standard/streamfuncs.c, that were caused by typos in main/streams/. --- Wbr, Antony Dovgal aka tony2001 tony2001@phpclub.net --Multipart=_Wed__26_May_2004_23_15_52_+0400_/sg.6iBzjEg.c4nv Content-Type: text/plain; name="filters.diff.txt" Content-Disposition: attachment; filename="filters.diff.txt" Content-Transfer-Encoding: 7bit ? filters.diff Index: filter.c =================================================================== RCS file: /repository/php-src/main/streams/filter.c,v retrieving revision 1.11 diff -u -r1.11 filter.c --- filter.c 1 Apr 2004 03:52:34 -0000 1.11 +++ filter.c 26 May 2004 19:14:25 -0000 @@ -283,7 +283,7 @@ pefree(filter, filter->is_persistent); } -PHPAPI void php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) +PHPAPI void _php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) { filter->next = chain->head; filter->prev = NULL; @@ -297,7 +297,7 @@ filter->chain = chain; } -PHPAPI void php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) +PHPAPI void _php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) { php_stream *stream = chain->stream; Index: php_stream_filter_api.h =================================================================== RCS file: /repository/php-src/main/streams/php_stream_filter_api.h,v retrieving revision 1.8 diff -u -r1.8 php_stream_filter_api.h --- php_stream_filter_api.h 31 Mar 2004 23:48:59 -0000 1.8 +++ php_stream_filter_api.h 26 May 2004 19:14:33 -0000 @@ -129,8 +129,8 @@ END_EXTERN_C() #define php_stream_filter_alloc(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_CC TSRMLS_CC) #define php_stream_filter_alloc_rel(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_REL_CC TSRMLS_CC) -#define php_stream_fitler_prepend(chain, filter) _php_stream_filter_prepend((chain), (filter) TSRMLS_CC) -#define php_stream_fitler_append(chain, filter) _php_stream_filter_append((chain), (filter) TSRMLS_CC) +#define php_stream_filter_prepend(chain, filter) _php_stream_filter_prepend((chain), (filter) TSRMLS_CC) +#define php_stream_filter_append(chain, filter) _php_stream_filter_append((chain), (filter) TSRMLS_CC) #define php_stream_is_filtered(stream) ((stream)->readfilters.head || (stream)->writefilters.head) --Multipart=_Wed__26_May_2004_23_15_52_+0400_/sg.6iBzjEg.c4nv--