mirror of
https://github.com/osnr/TabFS.git
synced 2024-06-09 01:12:17 +02:00
a7ab34ebbc
- in the C part: enable FUSE_CAP_ATOMIC_O_TRUNC so that open() will get called with O_TRUNC in flags instead of truncate() being called separately - this also prevents truncate() from calling setData() with an empty string when a file is opened with O_TRUNC - in defineFile()->open(): if O_TRUNC is used, don't call getData() but start with an empty file as if it had just been truncated - in defineFile()->write()/truncate(): correct buffer resizing/copying |
||
---|---|---|
.. | ||
vendor | ||
background.js | ||
manifest.json |