cvs: pecl /apc apc_main.c
| From: | Brian Shire | Date: | Wed, 30 Jan 2008 01:58:13 +0000 |
| Subject: | cvs: pecl /apc apc_main.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9633@lists.php.net to get a copy of this message | ||
shire Wed Jan 30 01:58:13 2008 UTC
Modified files:
/pecl/apc apc_main.c
Log:
removig kludge
# these don't seem to be needed, but if they are for some reason let me know
http://cvs.php.net/viewvc.cgi/pecl/apc/apc_main.c?r1=3.107&r2=3.108&diff_format=u
Index: pecl/apc/apc_main.c
diff -u pecl/apc/apc_main.c:3.107 pecl/apc/apc_main.c:3.108
--- pecl/apc/apc_main.c:3.107 Tue Jan 29 21:57:44 2008
+++ pecl/apc/apc_main.c Wed Jan 30 01:58:13 2008
@@ -28,7 +28,7 @@
*/
-/* $Id: apc_main.c,v 3.107 2008/01/29 21:57:44 shire Exp $ */
+/* $Id: apc_main.c,v 3.108 2008/01/30 01:58:13 shire Exp $ */
#include "apc_php.h"
#include "apc_main.h"
@@ -242,8 +242,6 @@
/* cannot free up cache data yet, it maybe in use */
- zend_llist_del_element(&CG(open_files), h, compare_file_handles); /* XXX: kludge */
-
h->type = ZEND_HANDLE_FILENAME;
return NULL;
@@ -313,7 +311,6 @@
h->opened_path = estrdup(cache_entry->data.file.filename);
}
zend_hash_add(&EG(included_files), h->opened_path, strlen(h->opened_path)+1,
(void *)&dummy, sizeof(int), NULL);
- zend_llist_add_element(&CG(open_files), h); /* XXX kludge */
apc_stack_push(APCG(cache_stack), cache_entry);
op_array = cached_compile(h, type TSRMLS_CC);
if(op_array) {