diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-10-04 11:15:32 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-10-04 11:29:39 +0300 |
commit | 37112f646e6da1c3eb50de15cbbb8793b383b27e (patch) | |
tree | f32d6652f26110a47441c8cf8a08216eca1a52b6 /contrib/libs/curl/lib/curl_multibyte.c | |
parent | 9a6b8cb5c502ba2b158c337ce13e983e3c3dc78f (diff) | |
download | ydb-37112f646e6da1c3eb50de15cbbb8793b383b27e.tar.gz |
Update contrib/libs/curl to 8.10.1
commit_hash:428ef806a15515cdaa325530aa8cc6903fac5fb6
Diffstat (limited to 'contrib/libs/curl/lib/curl_multibyte.c')
-rw-r--r-- | contrib/libs/curl/lib/curl_multibyte.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/libs/curl/lib/curl_multibyte.c b/contrib/libs/curl/lib/curl_multibyte.c index ff21098563b..86ac74ff4b0 100644 --- a/contrib/libs/curl/lib/curl_multibyte.c +++ b/contrib/libs/curl/lib/curl_multibyte.c @@ -159,21 +159,4 @@ int curlx_win32_stat(const char *path, struct_stat *buffer) #endif } -int curlx_win32_access(const char *path, int mode) -{ -#if defined(_UNICODE) - int result = -1; - wchar_t *path_w = curlx_convert_UTF8_to_wchar(path); - if(path_w) { - result = _waccess(path_w, mode); - curlx_unicodefree(path_w); - } - else - errno = EINVAL; - return result; -#else - return _access(path, mode); -#endif -} - #endif /* USE_WIN32_LARGE_FILES || USE_WIN32_SMALL_FILES */ |