com php-src: Remove dead code: win32/ioutil.c

From: Date: Fri, 08 Dec 2017 21:59:00 +0000
Subject: com php-src: Remove dead code: win32/ioutil.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100533@lists.php.net to get a copy of this message
Commit: 6bd18c0f0b40e1213b906fb78a191e341678e172 Author: Anatol Belski <ab@php.net> Fri, 8 Dec 2017 22:59:00 +0100 Parents: c9274a4c6a592e26db7b682ebcf4d06f54fa2f6b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6bd18c0f0b40e1213b906fb78a191e341678e172 Log: Remove dead code Changed paths: M win32/ioutil.c Diff: diff --git a/win32/ioutil.c b/win32/ioutil.c index 4c4e60d..72b87b1 100644 --- a/win32/ioutil.c +++ b/win32/ioutil.c @@ -683,36 +683,6 @@ PW32IO int php_win32_ioutil_access_w(const wchar_t *path, mode_t mode) return 0; }/*}}}*/ -#if 0 -PW32IO HANDLE php_win32_ioutil_findfirstfile_w(char *path, WIN32_FIND_DATA *data) -{ - HANDLE ret = INVALID_HANDLE_VALUE; - DWORD err; - - if (!path) { - SET_ERRNO_FROM_WIN32_CODE(ERROR_INVALID_PARAMETER); - return ret; - } - - pathw = php_win32_ioutil_any_to_w(path); - - if (!pathw) { - err = GetLastError(); - SET_ERRNO_FROM_WIN32_CODE(ret); - return ret; - } - - ret = FindFirstFileW(pathw, data); - - if (INVALID_HANDLE_VALUE == ret && path) { - ret = FindFirstFileA(path, data); - } - - /* XXX set errno */ - return ret; -} -#endif - /* * Local variables: * tab-width: 4

« previous php.cvs (#100533) next »