Skip to content

Commit 09f5b6d

Browse files
authored
Merge pull request #30 from trofi/nix-2.25
dwarffs.cc: port to nix-2.25 (`ignoreException` rename)
2 parents 8198868 + d85f990 commit 09f5b6d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

dwarffs.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ static int dwarffs_getattr(const char * path_, struct stat * stbuf)
326326
return res;
327327

328328
} catch (std::exception & e) {
329-
ignoreException();
329+
ignoreExceptionExceptInterrupt();
330330
return -EIO;
331331
}
332332
}
@@ -375,7 +375,7 @@ static int dwarffs_open(const char * path_, struct fuse_file_info * fi)
375375
return 0;
376376

377377
} catch (std::exception & e) {
378-
ignoreException();
378+
ignoreExceptionExceptInterrupt();
379379
return -EIO;
380380
}
381381
}
@@ -417,7 +417,7 @@ static int dwarffs_read(const char * path_, char * buf, size_t size, off_t offse
417417
return -ENOENT;
418418

419419
} catch (std::exception & e) {
420-
ignoreException();
420+
ignoreExceptionExceptInterrupt();
421421
return -EIO;
422422
}
423423
}

flake.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
description = "A filesystem that fetches DWARF debug info from the Internet on demand";
33

4-
inputs.nix.url = "https://flakehub.com/f/NixOS/nix/2.20.tar.gz";
4+
inputs.nix.url = "https://flakehub.com/f/NixOS/nix/2.25.tar.gz";
55
inputs.nixpkgs.follows = "nix/nixpkgs";
66

77
outputs = { self, nix, nixpkgs }:

0 commit comments

Comments
 (0)