[PHP-DEV] Stuck debugging a PHP6 string-->unicode-->string conversion problem on Solaris (SPARC)

2009-11-13 Thread Arvind Srinivasan
Hi, I need some help debugging a test failure (./ext/spl/tests/DirectoryIterator_getBasename_basic_test goes into an infinite loop) on Solaris 10 (SPARC) with PHP6 trunk. I've narrowed the problem down to a difference between what zspprintf() converts to unicode and is then subsequently converted

[PHP-DEV] Patch for bug #49936

2009-11-13 Thread Pierrick Charron
Hi, I created a patch for the bug #49936. The problem was due to the new way to manage references of stream context. The patch increase the refcount of the context when it's assigned to a stream (in the method php_stream_context_set). A zend_list_delete is already called on the context when the s