]> granicus.if.org Git - php/commitdiff
add folds
authorAnatol Belski <ab@php.net>
Sat, 23 Jul 2016 21:22:08 +0000 (23:22 +0200)
committerAnatol Belski <ab@php.net>
Sat, 23 Jul 2016 21:24:32 +0000 (23:24 +0200)
win32/ioutil.c

index 57a1daf72af726fabf816b407afdb5ea9a7e4bf5..1bf88c44b8d7ff6b92ea91d246ee9e0ce2ac8a8b 100644 (file)
@@ -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)