summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_win32.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-17 09:27:19 +0000
committerPierre Joye <pajoye@php.net>2010-09-17 09:27:19 +0000
commit83527d16a323416a354df4ddfbd86fc0efa2967e (patch)
tree8c4bd87f498c92675d66c1b489ac0e76c674b426 /TSRM/tsrm_win32.c
parent79ee513903fb03a57f2676fb69943b15ff173e91 (diff)
downloadphp-git-83527d16a323416a354df4ddfbd86fc0efa2967e.tar.gz
- drop tsrmls_fetch in tsrm_win32_access
Diffstat (limited to 'TSRM/tsrm_win32.c')
-rw-r--r--TSRM/tsrm_win32.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c
index 18917cd16b..a1fb12f274 100644
--- a/TSRM/tsrm_win32.c
+++ b/TSRM/tsrm_win32.c
@@ -190,7 +190,7 @@ Finished:
return NULL;
}
-TSRM_API int tsrm_win32_access(const char *pathname, int mode)
+TSRM_API int tsrm_win32_access(const char *pathname, int mode TSRMLS_DC)
{
time_t t;
HANDLE thread_token;
@@ -208,8 +208,6 @@ TSRM_API int tsrm_win32_access(const char *pathname, int mode)
realpath_cache_bucket * bucket = NULL;
char * real_path = NULL;
- TSRMLS_FETCH();
-
if (mode == 1 /*X_OK*/) {
DWORD type;
return GetBinaryType(pathname, &type) ? 0 : -1;