For Programmers: Free Programming Magazines  


Home > Archive > PHP Eaccelerator > November 2005 > eaccelerator cvs fixes









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author eaccelerator cvs fixes
Chmouel Boudjnah

2005-11-20, 10:00 pm


some typo fixes of latest cvs :

cvs diff: Diffing .
Index: eaccelerator.c
========================================
===========================
RCS file: /cvsroot/eaccelerator/eaccelerator/eaccelerator.c,v
retrieving revision 1.39
diff -u -r1.39 eaccelerator.c
--- eaccelerator.c 20 Nov 2005 23:01:28 -0000 1.39
+++ eaccelerator.c 21 Nov 2005 01:54:11 -0000
@@ -1126,9 +1126,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--;
@@ -1251,12 +1252,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());
cvs diff: Diffing eLoader
cvs diff: Diffing win32


--
Chmouel Boudjnah - Squiz.net - http://www.squiz.net/


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com