Use base-256 encoding for files larger 68G

Reference:
http://lists.busybox.net/pipermail/busybox/2011-May/075596.html
This commit is contained in:
Michael Krasnyk
2018-04-10 12:26:26 +02:00
parent 3cd8e0fef8
commit 17cd1575f6
2 changed files with 49 additions and 9 deletions
+2 -4
View File
@@ -29,10 +29,8 @@ checkMTarError(int error_code, const boost::filesystem::path &filepath, const st
case MTAR_ESUCCESS:
return;
case MTAR_EFAILURE:
throw util::RuntimeError(filepath.string() + " : " + name,
ErrorCode::FileIOError,
SOURCE_REF,
std::strerror(errno));
throw util::RuntimeError(
filepath.string() + " : " + name, ErrorCode::FileIOError, SOURCE_REF);
case MTAR_EOPENFAIL:
throw util::RuntimeError(filepath.string() + " : " + name,
ErrorCode::FileOpenError,