135 |
bool did_exist = boost::filesystem::exists(filename); |
bool did_exist = boost::filesystem::exists(filename); |
136 |
|
|
137 |
//out.open( filename.c_str(), ios::app ); |
//out.open( filename.c_str(), ios::app ); |
138 |
out = fopen(filename.c_str(), "a"); |
out = fopen64(filename.c_str(), "a"); |
139 |
|
|
140 |
|
|
141 |
|
|
154 |
|
|
155 |
if (out != NULL ) { |
if (out != NULL ) { |
156 |
fputs(linebuf, out); |
fputs(linebuf, out); |
157 |
fputs("\n", out); |
//fputs("\n", out); |
158 |
//out << linebuf << endl; |
//out << linebuf << endl; |
159 |
} else { |
} else { |
160 |
header << linebuf << endl; //collect preamble for later use |
header << linebuf; //collect preamble for later use |
161 |
} |
} |
162 |
|
|
163 |
} |
} |