Date: Wed, 30 Dec 2015 23:07:29 -0500 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: Musl bug, or, am I losing my mind? On Thu, Dec 31, 2015 at 04:10:02AM +0100, Szabolcs Nagy wrote: > * Szabolcs Nagy <nsz@...t70.net> [2015-12-30 22:28:33 +0100]: > > * Guided Muscle <atguarded-gizmo@...oo.com> [2015-12-30 20:04:41 +0000]: > > > cat o.txt | cdb -c c.cdb > > > FAILED: cdb: (stdin): bad format > > > > > > However > > > PASS: cdb -c c.cdb < o.txt > > > > my guess is that cdb does not handle short reads properly > > > > but you can see what's going on with strace > > another guess: if this is a musl based system > then there was a gcc bug that broke fflush at > exit so cat would truncate the output. > > again strace can tell if that is the case. "On Debian 8" is probably not a musl-based cat. Rich
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.