On 10/18/2022 11:45 AM, Corinna Vinschen wrote:
On Sep 23 11:31, Ken Brown wrote:
@@ -1043,6 +1043,8 @@ writer_shmem:
    set_pipe_non_blocking (get_handle (), flags & O_NONBLOCK);
    nwriters_lock ();
    inc_nwriters ();
+  if (!writer_opened () )
+    set_writer_opened ();

My personal preference would be to skip the writer_opened() check
and just call set_writer_opened(), but that's just me.

I agree.  I've pushed it with that change.

Ken

Reply via email to