-
Update libosxfuse to version 2.9.4
- Initilalize stat buffer passed to
getattr()
andfgetattr()
to zero in all cases. - Fix
fuse_remove_signal_handlers()
to properly restore the default signal handler.
- Initilalize stat buffer passed to
-
Refactor the non-portable libfuse function
fuse_purge_np()
to use the the standard functionfuse_lowlevel_notify_inval_inode()
instead of of the non-portableFUSEDEVIOCALTERVNODEFORINODE
ioctl. -
The non-portable libfuse functions
fuse_purge_np()
andfuse_knote_np()
are now obsolete and therefore deprecated. -
Fix vnode invalidation notification handling in FUSE kernel extension by updating the vnode's attributes upon receiving a
FUSE_NOTIFY_INVAL_INODE
notification to detect remote file size changes. See #229 for details. -
Cache vnode attributes when creating vnodes. This guarantees that
va_iosize
has been initialized before processing read or write requests. Ava_iosize
of zero bytes will trigger an infinite number of zero byte reads or writes. See #224 for details. -
Invalidate directory attributes when creating file. When creating a file using
open(2)
andO_CREAT
, POSIX requires that the parent directory's ctime and mtime be updated (if the file did not exist):If O_CREAT is set and the file did not previously exist, upon successful completion, open() shall mark for update the st_atime, st_ctime, and st_mtimefields of the file and the st_ctime and st_mtime fields of the parent directory.
For details see Minor bug with directory mtimes and O_CREAT.
-
Hide
xcodebuild
output when building osxfuse if verbose flag is not set.