mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-08 03:49:44 -04:00
fix(dwarfs): files not showing in finder w/o noapplexattr
(gh #211)
This commit is contained in:
parent
5d4017de4f
commit
5a2a0f515f
@ -912,7 +912,12 @@ void op_getxattr(fuse_req_t req, fuse_ino_t ino, char const* name, size_t size
|
||||
<< ", extra_size=" << extra_size;
|
||||
|
||||
if (value.empty()) {
|
||||
// Linux and macOS disagree on the error code for "attribute not found"
|
||||
#ifdef __APPLE__
|
||||
return ENOATTR;
|
||||
#else
|
||||
return ENODATA;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (size == 0) {
|
||||
|
@ -553,10 +553,6 @@ class driver_runner {
|
||||
wait_until_file_ready(mountpoint, std::chrono::seconds(5));
|
||||
#else
|
||||
std::vector<std::string> options;
|
||||
#ifdef __APPLE__
|
||||
options.push_back("-o");
|
||||
options.push_back("noapplexattr");
|
||||
#endif
|
||||
if (!subprocess::check_run(driver, make_tool_arg(tool_arg), image,
|
||||
mountpoint, options,
|
||||
std::forward<Args>(args)...)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user