summaryrefslogtreecommitdiffstats
path: root/blenc-svn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'blenc-svn.patch')
-rw-r--r--blenc-svn.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/blenc-svn.patch b/blenc-svn.patch
new file mode 100644
index 0000000..67e518c
--- /dev/null
+++ b/blenc-svn.patch
@@ -0,0 +1,13 @@
+Index: blenc.c
+===================================================================
+--- blenc.c (révision 333437)
++++ blenc.c (copie de travail)
+@@ -550,7 +550,7 @@
+ }
+
+ script = emalloc(BLENC_BUFSIZE);
+- for(i = 2; (bytes = php_stream_read(stream, &script[index], BLENC_BUFSIZE TSRMLS_CC)) > 0; i++) {
++ for(i = 2; (bytes = php_stream_read(stream, &script[index], BLENC_BUFSIZE)) > 0; i++) {
+
+ script_len += bytes;
+ if(bytes == BLENC_BUFSIZE) {