Changeset 227


Ignore:
Timestamp:
07/02/06 10:59:17 (4 years ago)
Author:
bart
Message:

Made some fixes to ea_info.c to make eA compile on windows again. This should fix bug #116

Location:
eaccelerator/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • eaccelerator/trunk/ChangeLog

    r224 r227  
     12006-07-02  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2 
     3        * Made some fixes to ea_info.c to make eA compile on windows again. 
     4          This should fix bug #116. 
     5 
    162006-06-30  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
    27 
  • eaccelerator/trunk/ea_info.c

    r223 r227  
    7878 
    7979/* {{{ clear_filecache(): Helper function to eaccelerator_clear which finds diskcache entries in the hashed dirs and removes them */ 
    80 static int clear_filecache() { 
     80static void clear_filecache(TSRMLS_D) 
    8181#ifndef ZEND_WIN32 
     82{ 
    8283        DIR *dp; 
    8384        struct dirent *entry; 
     
    103104                                        if (S_ISDIR(dirstat.st_mode)) { 
    104105                                                chdir(entry->d_name); 
    105                                                 clear_filecache(); 
     106                                                clear_filecache(TSRMLS_C); 
    106107                                                chdir(".."); 
    107108                                        } 
     
    132133        } 
    133134 
    134                 FindClose (hList); 
     135        FindClose (hList); 
    135136} 
    136137#endif 
     
    318319         
    319320        chdir(EAG (cache_dir)); 
    320         clear_filecache(); 
     321        clear_filecache(TSRMLS_C); 
    321322         
    322323    RETURN_NULL(); 
Note: See TracChangeset for help on using the changeset viewer.