Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

zend.c patch
Thursday, November 2nd, 2006 at 10:55:15am UTC 

  1. --- zend.c.old  2006-10-16 14:31:02.000000000 +0100
  2. +++ zend.c      2006-11-02 09:53:12.234375000 +0000
  3. @@ -522,8 +522,9 @@
  4.  
  5.  static void zend_new_thread_end_handler(THREAD_T thread_id TSRMLS_DC)
  6.  {
  7. -       zend_copy_ini_directives(TSRMLS_C);
  8. -       zend_ini_refresh_caches(ZEND_INI_STAGE_STARTUP TSRMLS_CC);
  9. +       if (zend_copy_ini_directives(TSRMLS_C) == SUCCESS) {
  10. +              zend_ini_refresh_caches(ZEND_INI_STAGE_STARTUP TSRMLS_CC);
  11. +       }
  12.  }
  13.  #endif
  14.  
  15. @@ -700,7 +701,7 @@
  16.         free(EG(zend_constants));
  17.         executor_globals_ctor(executor_globals, tsrm_ls);
  18.         global_persistent_list = &EG(persistent_list);
  19. -       zend_new_thread_end_handler(tsrm_thread_id() TSRMLS_CC);
  20. +       zend_copy_ini_directives(TSRMLS_C);
  21.  }
  22.  #endif
  23.  

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right