Fixed bug #72625 realpath() fails on non canonical long path

This commit is contained in:
Anatol Belski 2016-07-23 18:07:03 +02:00
parent fc30b8e0f7
commit 0f16c56262
4 changed files with 148 additions and 7 deletions

View file

@ -19,6 +19,7 @@
#include <config.w32.h>
#include <win32/time.h>
#include <win32/ioutil.h>
#include <php.h>
#ifdef HAVE_LIBXML
@ -44,6 +45,12 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID dummy)
fprintf(stderr, "gettimeofday() initialization failed");
return ret;
}
ret = ret && php_win32_ioutil_init();
if (!ret) {
fprintf(stderr, "ioutil initialization failed");
return ret;
}
break;
#if 0 /* prepared */
case DLL_PROCESS_DETACH: