1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Also fix TSRM on Windows

This commit is contained in:
Kalle Sommer Nielsen
2016-07-30 17:32:53 +02:00
parent bfba840e42
commit c192bdecd5

View File

@@ -209,14 +209,14 @@ TSRM_API int tsrm_win32_access(const char *pathname, int mode)
BYTE * psec_desc = NULL;
BOOL fAccess = FALSE;
realpath_cache_bucket * bucket = NULL;
char * real_path = NULL;
PHP_WIN32_IOUTIL_INIT_W(pathname)
if (!pathw) {
return -1;
}
realpath_cache_bucket * bucket = NULL;
char * real_path = NULL;
if (mode == 1 /*X_OK*/) {
DWORD type;
int ret;