diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-27 09:16:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-27 09:17:27 +0000 |
commit | 2baa221ac5044549d9ad58611b2316243bb126d0 (patch) | |
tree | 6349a6e152efa33a0ac254ae865cddf10aa111c7 /main/php/curl-flush.patch | |
parent | fe4a8497b1092eb2a4e39370936cf87ed10ab52c (diff) | |
download | aports-2baa221ac5044549d9ad58611b2316243bb126d0.tar.bz2 aports-2baa221ac5044549d9ad58611b2316243bb126d0.tar.xz |
main/php: upgrade to 5.3.3
Diffstat (limited to 'main/php/curl-flush.patch')
-rw-r--r-- | main/php/curl-flush.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/main/php/curl-flush.patch b/main/php/curl-flush.patch deleted file mode 100644 index 14fc31a0bc..0000000000 --- a/main/php/curl-flush.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- /repository/php-src/ext/curl/interface.c 2009/06/15 12:38:11 1.62.2.14.2.57 -+++ /repository/php-src/ext/curl/interface.c 2009/06/28 10:00:28 1.62.2.14.2.58 -@@ -1827,6 +1827,14 @@ - if (ch->handlers->write->method == PHP_CURL_RETURN && ch->handlers->write->buf.len > 0) { - smart_str_0(&ch->handlers->write->buf); - RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1); -+ } -+ -+ /* flush the file handle, so any remaining data is synched to disk */ -+ if (ch->handlers->write->method == PHP_CURL_FILE && ch->handlers->write->fp) { -+ fflush(ch->handlers->write->fp); -+ } -+ if (ch->handlers->write_header->method == PHP_CURL_FILE && ch->handlers->write_header->fp) { -+ fflush(ch->handlers->write_header->fp); - } - - if (ch->handlers->write->method == PHP_CURL_RETURN) { |