diff options
author | Jakob Unterwurzacher | 2025-06-15 19:52:21 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-06-15 20:11:06 +0200 |
commit | 4ef2678917ddc26ab8e5f64a3158720da6e0a5d1 (patch) | |
tree | 1d0eafaa30c1630d729e7577e17100da2fd52cb0 /.gitignore | |
parent | 17524d373c388b2d2510662aa8aefb633bae674e (diff) |
fusefronted: fake fstat for deleted fifos
git test suite t9300-fast-import.sh test 245 does the equivalent of this:
mkfifo fifo
exec 8<>fifo
rm fifo
cat /dev/null >&8
This used to fail with
cat: standard output: No such file or directory
because cat tries to fstat stdout.
The open() on the fifo does not reach the filesystem, so we don't
have an fd open for the delted file, hence no way to access it.
Fake fstat success as good as we can to make cat happy.
Fixes https://github.com/rfjakob/gocryptfs/issues/929
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions