com php-src: Drop unused code: Zend/zend_virtual_cwd.c

From: Date: Fri, 15 Dec 2017 13:58:43 +0000
Subject: com php-src: Drop unused code: Zend/zend_virtual_cwd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100593@lists.php.net to get a copy of this message
Commit: 32db45ca549e8e80fa940fcc09b302eb42801cd7 Author: Anatol Belski <ab@php.net> Fri, 15 Dec 2017 14:58:43 +0100 Parents: f3f6cd24e9677c820f198f3804d6c9a932685373 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=32db45ca549e8e80fa940fcc09b302eb42801cd7 Log: Drop unused code Changed paths: M Zend/zend_virtual_cwd.c Diff: diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c index a05d1c5..1ea6685 100644 --- a/Zend/zend_virtual_cwd.c +++ b/Zend/zend_virtual_cwd.c @@ -1226,19 +1226,6 @@ static size_t tsrm_win32_realpath_quick(char *path, size_t len, time_t *t) /* {{ return bucket->realpath_len; } -#if 0 - if (!php_win32_ioutil_realpath_ex0(resolved_path, tmp_resolved_path, &info)) { - if (CWD_REALPATH == use_realpath) { - DWORD err = GetLastError(); - SET_ERRNO_FROM_WIN32_CODE(err); - return 1; - } else { - /* Fallback to expand only to retain BC. */ - path_length = tsrm_realpath_r(resolved_path, start, path_length, &ll, &t, use_realpath, 0, NULL); - } - } else { -#endif - if (!php_win32_ioutil_realpath_ex0(path, tmp_resolved_path, &info)) { DWORD err = GetLastError(); SET_ERRNO_FROM_WIN32_CODE(err);

« previous php.cvs (#100593) next »