Patch rmdir_fix for WinCache Bug #64306
Patch version 2013-02-27 05:38 UTC
Return to Bug #64306 |
Download this patch
Patch Revisions:
Developer: pvasilevich@parallels.com
Index: php_wincache.c
===================================================================
--- php_wincache.c (revision 329579)
+++ php_wincache.c (working copy)
@@ -2733,14 +2733,15 @@
pcache = WCG(lfcache);
result = aplist_fcache_get(pcache, fullpath, SKIP_STREAM_OPEN_CHECK, &respath, &pvalue TSRMLS_CC);
+
+ dprintimportant("wincache_rmdir - %s. Calling intercepted function.", dirname);
+ WCG(orig_rmdir)(INTERNAL_FUNCTION_PARAM_PASSTHRU);
+
if(FAILED(result))
{
goto Finished;
}
- dprintimportant("wincache_rmdir - %s. Calling intercepted function.", dirname);
- WCG(orig_rmdir)(INTERNAL_FUNCTION_PARAM_PASSTHRU);
-
if (pcache->pnotify != NULL)
{
sticks = GetTickCount();
|