1.1 --- a/libfsclient/lib/src/client.cc Sun Jun 02 01:04:10 2024 +0200
1.2 +++ b/libfsclient/lib/src/client.cc Sun Jun 02 15:36:53 2024 +0200
1.3 @@ -285,7 +285,7 @@
1.4 /* Enforce blocking for pipes if necessary.
1.5 NOTE: Ignoring any event subscription error. */
1.6
1.7 - if (!(flags & O_NONBLOCK) && !(stream->object_flags & OBJECT_SUPPORTS_MMAP))
1.8 + if (!(flags & O_NONBLOCK) && !(stream->object_flags & OBJECT_HAS_SIZE))
1.9 client_set_blocking(stream, file_notify_flags(flags));
1.10
1.11 return stream;