mirror of
https://github.com/TurboGit/hubicfuse.git
synced 2026-08-01 18:32:23 +02:00
Allows files to be seekable.
This commit is contained in:
+1
-1
@@ -385,7 +385,7 @@ static int cfs_open(const char* path, struct fuse_file_info* info)
|
||||
of->flags = info->flags;
|
||||
info->fh = (uintptr_t)of;
|
||||
info->direct_io = 1;
|
||||
info->nonseekable = 1;
|
||||
info->nonseekable = 0;
|
||||
//FIXME: potential leak if free(of) not used? although if free(of) is used will generate bad descriptor errors
|
||||
debugf(DBG_LEVEL_NORM, KBLU "exit 6: cfs_open(%s)", path);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user