try fixing for mingw
CI / FreeBSD (autotools) (push) Failing after 1s
CI / FreeBSD (cmake) (push) Failing after 1s
CI / MacOS (autotools) (push) Canceled after 0s
CI / MacOS (cmake) (push) Canceled after 0s
CI / Ubuntu (autotools, mbedtls) (push) Canceled after 0s
CI / Ubuntu (autotools, nettle) (push) Canceled after 0s
CI / Ubuntu (autotools, openssl) (push) Canceled after 0s
CI / Ubuntu (cmake, mbedtls) (push) Canceled after 0s
CI / Ubuntu (cmake, nettle) (push) Canceled after 0s
CI / Ubuntu (cmake, openssl) (push) Canceled after 0s
CI / Ubuntu-distcheck (push) Canceled after 0s
CI / Windows (cygwin-gcc) (push) Canceled after 0s
CI / Windows (mingw-gcc) (push) Canceled after 0s
CI / Windows (msvc) (push) Canceled after 0s
Lint / Lint (push) Canceled after 0s
CI / FreeBSD (autotools) (push) Failing after 1s
CI / FreeBSD (cmake) (push) Failing after 1s
CI / MacOS (autotools) (push) Canceled after 0s
CI / MacOS (cmake) (push) Canceled after 0s
CI / Ubuntu (autotools, mbedtls) (push) Canceled after 0s
CI / Ubuntu (autotools, nettle) (push) Canceled after 0s
CI / Ubuntu (autotools, openssl) (push) Canceled after 0s
CI / Ubuntu (cmake, mbedtls) (push) Canceled after 0s
CI / Ubuntu (cmake, nettle) (push) Canceled after 0s
CI / Ubuntu (cmake, openssl) (push) Canceled after 0s
CI / Ubuntu-distcheck (push) Canceled after 0s
CI / Windows (cygwin-gcc) (push) Canceled after 0s
CI / Windows (mingw-gcc) (push) Canceled after 0s
CI / Windows (msvc) (push) Canceled after 0s
Lint / Lint (push) Canceled after 0s
This commit is contained in:
1 parent
b738b9d38c
commit
57a2e910a5
2 files changed
+3
-3
No files matched your search
@@ -1236,7 +1236,7 @@ parse_file(struct archive_read *a, struct archive_entry *entry,
|
||||
}
|
||||
}
|
||||
#ifdef HAVE_LSTAT
|
||||
else if (lstat(path, st) == -1)
|
||||
else if (lstat(path, (struct stat *)st) == -1)
|
||||
#else
|
||||
else if (la_seek_stat(path, st) == -1)
|
||||
#endif
|
||||
|
||||
@@ -448,12 +448,12 @@ default_iconv_charset(const char *charset) {
|
||||
#if HAVE_LOCALE_CHARSET && HAVE_LOCALCHARSET_H && !defined(__APPLE__)
|
||||
/* locale_charset() is broken on Mac OS */
|
||||
return locale_charset();
|
||||
#elif HAVE_NL_LANGINFO
|
||||
#elif defined(HAVE_LANGINFO_H) && defined(CODESET)
|
||||
return nl_langinfo(CODESET);
|
||||
#elif defined(__BIONIC__)
|
||||
return "UTF-8";
|
||||
#else
|
||||
return "";
|
||||
return "UTF-8";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user