Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 31 Dec 2015 04:10:02 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Musl bug, or, am I losing my mind?

* 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.

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.