diff options
author | Pierre Joye <pajoye@php.net> | 2010-09-13 10:27:55 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-09-13 10:27:55 +0000 |
commit | ffd60af473ec9c5f175407e1bce8ba135fc78128 (patch) | |
tree | 5a8418d838903873029440d97d23d4059e524e68 /TSRM | |
parent | eafd04d1729bedb5b280bea84edc1da383fc8e91 (diff) | |
download | php-git-ffd60af473ec9c5f175407e1bce8ba135fc78128.tar.gz |
- use php_sys_lstat
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 0c062c40e3..2544f005cb 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -993,7 +993,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i tmp = tsrm_do_alloca(len+1, use_heap); memcpy(tmp, path, len+1); #else - if (save && lstat(path, &st) < 0) { + if (save && php_sys_lstat(path, &st) < 0) { if (use_realpath == CWD_REALPATH) { /* file not found */ return -1; |