Hello! On Thu, Nov 03, 2005 at 11:23:59PM +0100, Richard B. Kreckel wrote:
Never mind. I've committed a modified version of your patch that should address those issues. Please check if it works for you.
Could you please apply this trivial patch too? Index: check/exam_archive.cpp =================================================================== RCS file: /home/cvs/GiNaC/check/exam_archive.cpp,v retrieving revision 1.15 diff -r1.15 exam_archive.cpp 57c57 < std::ofstream fout("exam.gar"); ---
std::ofstream fout("exam.gar", std::ios_base::binary);
62c62 < std::ifstream fin("exam.gar"); ---
std::ifstream fin("exam.gar", std::ios_base::binary);
Index: tools/viewgar.cpp =================================================================== RCS file: /home/cvs/GiNaC/tools/viewgar.cpp,v retrieving revision 1.14 diff -r1.14 viewgar.cpp 49c49 < std::ifstream f(*argv); ---
std::ifstream f(*argv, std::ios_base::binary);
It makes viewgar and archiving tests work properly. Best regards, Alexei -- All science is either physics or stamp collecting.