[flac-dev] flac 1.3.0pre1 prelease

Ralph Giles giles at thaumas.net
Sun Mar 3 20:32:58 PST 2013


On 13-03-02 3:22 PM, Erik de Castro Lopo wrote:

>     http://downloads.xiph.org/releases/flac/beta/

On Mac 10.7.5 Apple clang 4.2, 'make check' fails because BSD and GNU
coreutils have incompatible format options for 'stat'.

If I change test/test_compression.sh to use:

  size=`stat -f "%z" ${fname}`

The self tests complete without error. Of course that won't work on a
GNU system. Stack overflow suggests 'wc -c' as a portable version:

  size=`wc -c <${fname}`

Which does work on the Mac.

 -r


More information about the flac-dev mailing list