diff -r 6a2083f7eeb8 -r 2a78c4ff2eab commands/cat/cat.cpp --- a/commands/cat/cat.cpp Mon Sep 20 16:46:34 2010 +0100 +++ b/commands/cat/cat.cpp Wed Oct 13 12:41:05 2010 +0100 @@ -132,6 +132,7 @@ else { iEncoding = EBinary; + LeaveIfErr(Stdout().SetMode(RIoReadWriteHandle::EBinary), _L("Unable to set stdout to binary mode")); // To tell iosrv to not mess about with line endings. } }