lbarnaud                Tue May 19 10:04:35 2009 UTC

  Modified files:              
    /php-src/main/streams       streams.c 
  Log:
  Fix build
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/streams.c?r1=1.186&r2=1.187&diff_format=u
Index: php-src/main/streams/streams.c
diff -u php-src/main/streams/streams.c:1.186 
php-src/main/streams/streams.c:1.187
--- php-src/main/streams/streams.c:1.186        Sun May 17 16:52:35 2009
+++ php-src/main/streams/streams.c      Tue May 19 10:04:35 2009
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: streams.c,v 1.186 2009/05/17 16:52:35 lbarnaud Exp $ */
+/* $Id: streams.c,v 1.187 2009/05/19 10:04:35 lbarnaud Exp $ */
 
 #define _GNU_SOURCE
 #include "php.h"
@@ -1857,7 +1857,11 @@
                                }
 
                                towrite -= didwrite;
-                               writeptr.v += ZBYTES(utype, didwrite);
+                               if (utype == IS_UNICODE) {
+                                       writeptr.u += didwrite;
+                               } else {
+                                       writeptr.s += didwrite;
+                               }
                        }
                } else {
                        break;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to