Browse Source

Fixed bugs #47675 and #64577 (fd leak on Solaris)

PHP-5.3.25
Rasmus Lerdorf 13 years ago
parent
commit
1b60c189ad
  1. 2
      NEWS
  2. 2
      main/main.c

2
NEWS

@ -5,7 +5,7 @@ PHP NEWS
- Core:
. Fixed bug #64578 (debug_backtrace in set_error_handler corrupts zend heap:
segfault). (Laruence)
. Fixed bugs #47675 and #64577 (fd leak on Solaris)
?? ??? 2013, PHP 5.3.24

2
main/main.c

@ -2231,7 +2231,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
zend_file_handle *prepend_file_p, *append_file_p;
zend_file_handle prepend_file = {0}, append_file = {0};
#if HAVE_BROKEN_GETCWD
int old_cwd_fd = -1;
volatile int old_cwd_fd = -1;
#else
char *old_cwd;
ALLOCA_FLAG(use_heap)

Loading…
Cancel
Save