At 20:16 19.03.2002, you wrote:
zeev            Tue Mar 19 14:16:21 2002 EDT

   Modified files:
     /php4/main  memory_streams.c
   Log:
   Possibly fix a crash - Marcus, please take a look at it...


Just coming in - need some more time - but

The first patch was only moving the emacs folding in front of the
the functions, correct.
This one was adding initialising the local variable ms.
That was correct. I only checked that function (a requested one)
once and it changed since then...wrongly.

- tell me if incorrect then i will check in detail.


Index: php4/main/memory_streams.c
diff -u php4/main/memory_streams.c:1.7 php4/main/memory_streams.c:1.8
--- php4/main/memory_streams.c:1.7      Tue Mar 19 14:15:39 2002
+++ php4/main/memory_streams.c  Tue Mar 19 14:16:20 2002
@@ -268,6 +268,7 @@
                         assert(buf != NULL);
                         php_stream_write(stream, buf, length);
                 }
+               ms = stream->abstract;
                 ms->mode = mode;
         }
         return stream;



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to