I discovered a really nasty flac bug this morning.. I have been archiving some masters and intermediate versions under Linux, compressing them with flac. After compression, I would do a 'flac -t' to verify that the archive was good before removing the WAV file..
Well, flac didn't properly handle some WAV files from recordings that were ended without writing the proper size in the header. It issued a warning but still produced a FLAC file and gave an exit code (0) which suggested everything was Fine. The FLAC file tested fine. Unforunately, a 1.9GB WAV resulted in a 4KB FLAC file!
So I've reported this bug and I'm sure it will get fixed.. But I will be using gzip for my master archives.