cvs: php-src /ext/standard filters.c

From: Date: Fri, 12 Aug 2005 23:59:59 +0000
Subject: cvs: php-src /ext/standard filters.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33352@lists.php.net to get a copy of this message
wez Fri Aug 12 19:59:59 2005 EDT Modified files: /php-src/ext/standard filters.c Log: what they totally screw up on one hand, MS compilers almost compensate with on the other. http://cvs.php.net/diff.php/php-src/ext/standard/filters.c?r1=1.45&r2=1.46&ty=u Index: php-src/ext/standard/filters.c diff -u php-src/ext/standard/filters.c:1.45 php-src/ext/standard/filters.c:1.46 --- php-src/ext/standard/filters.c:1.45 Thu Aug 11 19:35:58 2005 +++ php-src/ext/standard/filters.c Fri Aug 12 19:59:59 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: filters.c,v 1.45 2005/08/11 23:35:58 andrei Exp $ */ +/* $Id: filters.c,v 1.46 2005/08/12 23:59:59 wez Exp $ */ #include "php.h" #include "php_globals.h" @@ -279,12 +279,13 @@ php_strip_tags_filter *inst = (php_strip_tags_filter *) thisfilter->abstract; while (buckets_in->head) { + bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC); + if (bucket->is_unicode) { /* Uh oh! */ return PSFS_ERR_FATAL; } - bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC); consumed = bucket->buf.str.len; bucket->buf.str.len = php_strip_tags(bucket->buf.str.val, bucket->buf.str.len, &(inst->state), (char *)inst->allowed_tags, inst->allowed_tags_len);

« previous php.cvs (#33352) next »