Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 17 Jan 2019 12:45:53 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Cc: Steven Hum <sdothum@...il.com>
Subject: Re: mkfifo buffer exhibiting unexpected behaviour

* Steven Hum <sdothum@...il.com> [2019-01-16 20:08:00 -0500]:
> Running this simple test using clock from sutils to produce a repeating one second interval input stream..
> 
> mkfifo fifo
> clock -i 1 -sf "T> stream one" >fifo &
> clock -i 1 -sf "D> stream two" >fifo &
> cat fifo
> 
> on void musl only the second fifo input stream is displayed.

maybe it was a regular file then, add ls -l before between
and after the clock calls.

if it's always a pipe then run the entire script under strace -f
to see what the clocks are doing.

> on void glibc, both input streams are displayed interleaved as expected.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.