aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-11-24 07:03:54 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-11-24 07:03:54 +0000
commitce3e1c2ca89ae8641606648da287cdb1537da354 (patch)
tree8e226f6404028002b7a8834a73af069cd46cbf6b /www
parent80d0833c0e8505587a40dc0961202f6f4c87f494 (diff)
downloadports-ce3e1c2ca89ae8641606648da287cdb1537da354.tar.gz
ports-ce3e1c2ca89ae8641606648da287cdb1537da354.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/eaccelerator/files/patch-eaccelerator.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/eaccelerator/files/patch-eaccelerator.c b/www/eaccelerator/files/patch-eaccelerator.c
new file mode 100644
index 000000000000..dcf9318c0e7c
--- /dev/null
+++ b/www/eaccelerator/files/patch-eaccelerator.c
@@ -0,0 +1,28 @@
+--- eaccelerator.c.orig Thu Nov 24 07:59:33 2005
++++ eaccelerator.c Thu Nov 24 08:00:58 2005
+@@ -1131,9 +1131,10 @@
+ }
+
+ if (zend_is_executing(TSRMLS_C)) {
++ int tryname_length;
+ strncpy(tryname, zend_get_executed_filename(TSRMLS_C), MAXPATHLEN);
+ tryname[MAXPATHLEN - 1] = 0;
+- int tryname_length = strlen(tryname);
++ tryname_length = strlen(tryname);
+
+ while (tryname_length >= 0 && !IS_SLASH(tryname[tryname_length]))
+ tryname_length--;
+@@ -1256,12 +1257,12 @@
+ int nreloads;
+ time_t compile_time;
+ int stat_result = 0;
++ struct timeval tv_start;
+
+ #ifdef EACCELERATOR_USE_INODE
+ realname[0] = '\000';
+ #endif
+
+- struct timeval tv_start;
+ ea_debug_printf(EA_TEST_PERFORMANCE, "[%d] Enter COMPILE\n",getpid());
+ ea_debug_start_time(&tv_start);
+ ea_debug_printf(EA_DEBUG, "[%d] Enter COMPILE\n",getpid());