diff options
Diffstat (limited to 'client/gvfsfusedaemon.c')
-rw-r--r-- | client/gvfsfusedaemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/gvfsfusedaemon.c b/client/gvfsfusedaemon.c index 5763c1ca..3f92a1d6 100644 --- a/client/gvfsfusedaemon.c +++ b/client/gvfsfusedaemon.c @@ -998,6 +998,9 @@ open_common (const gchar *path, struct fuse_file_info *fi, GFile *file, int outp else result = setup_input_stream (file, fh); + if (fh->stream) + fi->nonseekable = !g_seekable_can_seek (G_SEEKABLE (fh->stream)); + g_mutex_unlock (&fh->mutex); /* The added reference to the file handle is released in vfs_release() */ |