Skip to content

Commit

Permalink
Also fix TSRM on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleZ committed Jul 30, 2016
1 parent bfba840 commit c192bde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TSRM/tsrm_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c192bde

Please sign in to comment.