> ... > Has almost nothing in common with the expected output! OK, I understand this now: the setup function opens a binary file for writing but neglected to *say* it was binary in the "open". Huge no-no for portability. About to check in the fix.