We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad6dbec commit 0963479Copy full SHA for 0963479
src/libutil/archive.cc
@@ -331,7 +331,7 @@ struct RestoreSink : ParseSink
331
filesystem doesn't support preallocation (e.g. on
332
OpenSolaris). Since preallocation is just an
333
optimisation, ignore it. */
334
- if (errno && errno != EINVAL)
+ if (errno && errno != EINVAL && errno != EOPNOTSUPP && errno != ENOSYS)
335
throw SysError(format("preallocating file of %1% bytes") % len);
336
}
337
#endif
0 commit comments