com php-src: add folds: win32/ioutil.c

From: Date: Sat, 23 Jul 2016 21:24:32 +0000
Subject: com php-src: add folds: win32/ioutil.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93356@lists.php.net to get a copy of this message
Commit: 69ae61af969ec094b7142ebdefd7f55cd0015924 Author: Anatol Belski <ab@php.net> Sat, 23 Jul 2016 23:22:08 +0200 Parents: 88d4f149a653e8a4eb754d08eb8c68bfd5973226 Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=69ae61af969ec094b7142ebdefd7f55cd0015924 Log: add folds Changed paths: M win32/ioutil.c Diff: diff --git a/win32/ioutil.c b/win32/ioutil.c index 57a1daf..1bf88c4 100644 --- a/win32/ioutil.c +++ b/win32/ioutil.c @@ -540,15 +540,15 @@ PW32IO BOOL php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t }/*}}}*/ static HRESULT MyPathCchCanonicalizeExFallback(wchar_t *pszPathOut, size_t cchPathOut, const wchar_t *pszPathIn, unsigned long dwFlags) -{ +{/*{{{*/ cchPathOut = wcslen(pszPathIn); memmove(pszPathOut, pszPathIn, (cchPathOut + 1) * sizeof(wchar_t)); return S_OK; -} +}/*}}}*/ BOOL php_win32_ioutil_init(void) -{ +{/*{{{*/ HMODULE hMod = GetModuleHandle("api-ms-win-core-path-l1-1-0"); if (hMod) { @@ -561,7 +561,8 @@ BOOL php_win32_ioutil_init(void) } return TRUE; -} +}/*}}}*/ + /* an extended version could be implemented, for now direct functions can be used. */ #if 0 PW32IO int php_win32_ioutil_access_w(const wchar_t *path, mode_t mode)

« previous php.cvs (#93356) next »