From Anthony Green <green@redhat.com>:
* gprof.cxx (store): Specify binary mode on output file.
+2002-08-27 Frank Ch. Eigler <fche@redhat.com>
+
+ From Anthony Green <green@redhat.com>:
+ * gprof.cxx (store): Specify binary mode on output file.
+
2002-02-18 Frank Ch. Eigler <fche@redhat.com>
* gprof.cxx (store): Emit high_pc for histogram as gprof expects it
return;
}
- ofstream of (this->output_file.c_str ());
+ ofstream of (this->output_file.c_str (),
+ ios::out | ios::trunc | ios::binary);
if (! of.good())
{
cerr << "sw-profile-gprof: Error opening "