]> git.pld-linux.org Git - packages/php.git/blob - php-5.2.17-bug-60455.patch
use /usr/sbin/php-fpm as other branches
[packages/php.git] / php-5.2.17-bug-60455.patch
1 diff -up php-5.2.17/main/streams/streams.c.bug-60455 php-5.2.17/main/streams/streams.c
2 --- php-5.2.17/main/streams/streams.c.bug-60455 2012-01-12 11:50:11.000000000 +0700
3 +++ php-5.2.17/main/streams/streams.c   2012-01-12 11:50:55.000000000 +0700
4 @@ -879,7 +879,7 @@ PHPAPI char *php_stream_get_record(php_s
5                 just_read = (stream->writepos - stream->readpos) - len;
6                 len += just_read;
7  
8 -               if (just_read < toread) {
9 +               if (just_read == 0) {
10                         break;
11                 }
12         }
This page took 0.031075 seconds and 3 git commands to generate.