[cfe-commits] r45346 - /cfe/trunk/Driver/ASTConsumers.cpp
Anton Korobeynikov
asl at math.spbu.ru
Mon Dec 24 13:10:54 PST 2007
Christopher,
> + Out = new std::ofstream(FileName.c_str());
> + }
> } else {
> Out = new std::ofstream(FileName.c_str());
> }
Please don't forget about binary mode. mingw32 and bunch of stuff
defaults to text mode, thus you'll get garbage in the end.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
More information about the cfe-commits
mailing list