From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13613 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: mkfifo buffer exhibiting unexpected behaviour Date: Thu, 17 Jan 2019 12:45:53 +0100 Message-ID: <20190117114553.GN21289@port70.net> References: <154768728054.8191.12261377846874978788@localhost.localdomain> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1547725441 25557 195.159.176.226 (17 Jan 2019 11:44:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2019 11:44:01 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Steven Hum To: musl@lists.openwall.com Original-X-From: musl-return-13629-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jan 17 12:43:57 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1gk65U-0006XC-Tb for gllmg-musl@m.gmane.org; Thu, 17 Jan 2019 12:43:57 +0100 Original-Received: (qmail 3621 invoked by uid 550); 17 Jan 2019 11:46:06 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 3579 invoked from network); 17 Jan 2019 11:46:05 -0000 Mail-Followup-To: musl@lists.openwall.com, Steven Hum Content-Disposition: inline In-Reply-To: <154768728054.8191.12261377846874978788@localhost.localdomain> Xref: news.gmane.org gmane.linux.lib.musl.general:13613 Archived-At: * Steven Hum [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.