Skip to content

Commit 32db45c

Browse files
committed
Drop unused code
1 parent f3f6cd2 commit 32db45c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Zend/zend_virtual_cwd.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,19 +1226,6 @@ static size_t tsrm_win32_realpath_quick(char *path, size_t len, time_t *t) /* {{
12261226
return bucket->realpath_len;
12271227
}
12281228

1229-
#if 0
1230-
if (!php_win32_ioutil_realpath_ex0(resolved_path, tmp_resolved_path, &info)) {
1231-
if (CWD_REALPATH == use_realpath) {
1232-
DWORD err = GetLastError();
1233-
SET_ERRNO_FROM_WIN32_CODE(err);
1234-
return 1;
1235-
} else {
1236-
/* Fallback to expand only to retain BC. */
1237-
path_length = tsrm_realpath_r(resolved_path, start, path_length, &ll, &t, use_realpath, 0, NULL);
1238-
}
1239-
} else {
1240-
#endif
1241-
12421229
if (!php_win32_ioutil_realpath_ex0(path, tmp_resolved_path, &info)) {
12431230
DWORD err = GetLastError();
12441231
SET_ERRNO_FROM_WIN32_CODE(err);

0 commit comments

Comments
 (0)