mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-15 08:12:45 -05:00
tst: passthrough-fuse: testing
This commit is contained in:
@ -206,7 +206,7 @@ static int ptfs_create(const char *path, fuse_mode_t mode, struct fuse_file_info
|
||||
ptfs_impl_fullpath(path);
|
||||
|
||||
int fd;
|
||||
return -1 != (fd = open(path, O_CREAT | O_EXCL, mode)) ? (fi_setfd(fi, fd), 0) : -errno;
|
||||
return -1 != (fd = open(path, fi->flags, mode)) ? (fi_setfd(fi, fd), 0) : -errno;
|
||||
}
|
||||
|
||||
static int ptfs_ftruncate(const char *path, fuse_off_t off, struct fuse_file_info *fi)
|
||||
|
Reference in New Issue
Block a user