php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #64577
Patch bug.64577.main.c.patch revision 2013-04-04 20:44 UTC by davek at gamehouse dot com

Patch bug.64577.main.c.patch for Apache2 related Bug #64577

Patch version 2013-04-04 20:44 UTC

Return to Bug #64577 | Download this patch
Patch Revisions:

Developer: davek@gamehouse.com

--- main/main.c 2013-04-04 20:01:23.996313649 +0000
+++ main/main.1.c 2013-04-04 20:38:06.828503083 +0000
@@ -2407,7 +2407,7 @@
  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)
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 19:02:15 2014 UTC