Re: cvs: php-src(PHP_4_3) /main streams.c

From: Date: Tue, 02 Sep 2003 10:23:51 +0000
Subject: Re: cvs: php-src(PHP_4_3) /main streams.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23564@lists.php.net to get a copy of this message
Hello Stanislav, Tuesday, September 2, 2003, 12:21:03 PM, you wrote: SM> stas Tue Sep 2 06:21:03 2003 EDT SM> Modified files: (Branch: PHP_4_3) SM> /php-src/main streams.c SM> Log: SM> fix typo SM> Index: php-src/main/streams.c SM> diff -u php-src/main/streams.c:1.125.2.77 php-src/main/streams.c:1.125.2.78 SM> --- php-src/main/streams.c:1.125.2.77 Tue Sep 2 05:17:09 2003 SM> +++ php-src/main/streams.c Tue Sep 2 06:21:02 2003 SM> @@ -20,7 +20,7 @@ SM> +----------------------------------------------------------------------+ SM> */ SM> -/* $Id: streams.c,v 1.125.2.77 2003/09/02 09:17:09 stas Exp $ */ SM> +/* $Id: streams.c,v 1.125.2.78 2003/09/02 10:21:02 stas Exp $ */ SM> #define _GNU_SOURCE SM> #include "php.h" SM> @@ -2462,7 +2462,7 @@ SM> /* BC with older php scripts and zlib wrapper */ SM> protocol = "compress.zlib"; SM> n = 13; SM> - if(options & REPORT_ERRRORS) { SM> + if(options & REPORT_ERRORS) { SM> php_error_docref(NULL TSRMLS_CC, E_WARNING, "Use of SM> \"zlib:\" wrapper is deprecated; please use \"compress.zlib://\" SM> instead."); SM> } SM> } SM> @@ -2471,7 +2471,7 @@ SM> if (FAILURE == zend_hash_find(&url_stream_wrappers_hash, (char*)protocol, SM> n, (void**)&wrapper)) { SM> char wrapper_name[32]; SM> - if(options & REPORT_ERRRORS) { SM> + if(options & REPORT_ERRORS) { SM> if (n >= sizeof(wrapper_name)) SM> n = sizeof(wrapper_name) - 1; SM> PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n); Could you please also fix WS/CS Best regards, Marcus mailto:helly@php.net

« previous php.cvs (#23564) next »