Changeset 271
- Timestamp:
- 09/15/06 17:01:01 (4 years ago)
- Location:
- eaccelerator
- Files:
-
- 4 edited
-
branches/0.9.5/ChangeLog (modified) (1 diff)
-
branches/0.9.5/ea_restore.c (modified) (2 diffs)
-
trunk/ChangeLog (modified) (1 diff)
-
trunk/ea_restore.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eaccelerator/branches/0.9.5/ChangeLog
r270 r271 5 5 * Some fixes to make eAccelerator compile with php 5.2, this fixes bug #150 6 6 * Restore __toString methods correctly with php 5.2 7 * only put the function that has the same name as the class as contructor 8 if there isn't a __construct function. This fixes ticket #172 7 9 8 10 2006-08-29 Hans Rakers <hans at parse dot nl> -
eaccelerator/branches/0.9.5/ea_restore.c
r270 r271 759 759 Bucket *p = to->function_table.pListHead; 760 760 761 to->constructor = NULL; 762 761 763 while (p != NULL) { 762 764 f = p->pData; … … 764 766 fname_lc = zend_str_tolower_dup(f->common.function_name, fname_len); 765 767 766 if (fname_len == cname_len && !memcmp(fname_lc, cname_lc, fname_len) && f->common.scope != to->parent) { 768 /* only put the function that has the same name as the class as contructor if there isn't a __construct function */ 769 if (fname_len == cname_len && !memcmp(fname_lc, cname_lc, fname_len) && f->common.scope != to->parent 770 && to->constructor == NULL) { 767 771 to->constructor = f; 768 772 } else if (fname_lc[0] == '_' && fname_lc[1] == '_' && f->common.scope != to->parent) { -
eaccelerator/trunk/ChangeLog
r269 r271 3 3 * Reverse changeset 205 (doc-comment exclusion) from Tom Regner 4 4 <t.regner at librics.de>. 5 * only put the function that has the same name as the class as contructor 6 if there isn't a __construct function. This fixes ticket #172 5 7 6 8 2006-08-29 Hans Rakers <hans at parse dot nl> -
eaccelerator/trunk/ea_restore.c
r269 r271 722 722 Bucket *p = to->function_table.pListHead; 723 723 724 to->constructor = NULL; 725 724 726 while (p != NULL) { 725 727 f = p->pData; … … 727 729 fname_lc = zend_str_tolower_dup(f->common.function_name, fname_len); 728 730 729 if (fname_len == cname_len && !memcmp(fname_lc, cname_lc, fname_len) && f->common.scope != to->parent) { 731 /* only put the function that has the same name as the class as contructor if there isn't a __construct function */ 732 if (fname_len == cname_len && !memcmp(fname_lc, cname_lc, fname_len) && f->common.scope != to->parent 733 && to->constructor == NULL) { 730 734 to->constructor = f; 731 735 } else if (fname_lc[0] == '_' && fname_lc[1] == '_' && f->common.scope != to->parent) {
Note: See TracChangeset
for help on using the changeset viewer.