[cmp] update Bled to latest

* Also ensure that we support Unicode paths for 7-zip
* Also ensure that error messages are displayed in English
This commit is contained in:
Pete Batard 2020-06-10 20:00:47 +01:00
parent ad918c8f74
commit 71ede6d9a0
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
11 changed files with 187 additions and 69 deletions

View file

@ -1043,6 +1043,15 @@ static __inline int _stat64U(const char *path, struct __stat64 *buffer)
return ret;
}
static __inline int _accessU(const char* path, int mode)
{
int ret;
wconvert(path);
ret = _waccess(wpath, mode);
wfree(path);
return ret;
}
// returned UTF-8 string must be freed
static __inline char* getenvU(const char* varname)
{