mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed bug #72625 realpath() fails on non canonical long path
This commit is contained in:
parent
fc30b8e0f7
commit
0f16c56262
4 changed files with 148 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue