--- misc/mysql_splitter/splitter.cpp 2011/05/12 15:32:44 1461 +++ misc/mysql_splitter/splitter.cpp 2011/05/12 16:33:18 1463 @@ -135,7 +135,7 @@ bool did_exist = boost::filesystem::exists(filename); //out.open( filename.c_str(), ios::app ); - out = fopen(filename.c_str(), "a"); + out = fopen64(filename.c_str(), "a"); @@ -154,10 +154,10 @@ if (out != NULL ) { fputs(linebuf, out); - fputs("\n", out); + //fputs("\n", out); //out << linebuf << endl; } else { - header << linebuf << endl; //collect preamble for later use + header << linebuf; //collect preamble for later use } }