TabFS/fs
human a7ab34ebbc fix truncating in defineFile()
- 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
2021-01-11 10:25:57 +02:00
..
vendor vendor frozen 2020-12-27 18:20:34 -08:00
Makefile use -lfuse on Mac. fixes #11. fixes #20 2021-01-04 04:50:24 -08:00
tabfs.c fix truncating in defineFile() 2021-01-11 10:25:57 +02:00