~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/resolve_stack_dump.cc

  • Committer: Brian Aker
  • Date: 2009-03-05 02:48:46 UTC
  • mto: This revision was merged to the branch mainline in revision 911.
  • Revision ID: brian@tangent.org-20090305024846-0z5m0j3e80phlzh4
Remove my_fopen() and key_map.cc file (thanks to Jay's lcov)

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
  fp_out = stdout;
154
154
  fp_dump = stdin;
155
155
 
156
 
  if (dump_fname && !(fp_dump = my_fopen(dump_fname, O_RDONLY, MYF(MY_WME))))
 
156
  if (dump_fname && !(fp_dump= fopen(dump_fname, "r")))
157
157
      die("Could not open %s", dump_fname);
158
158
  /* if name not given, assume stdin*/
159
159
 
160
160
  if (!sym_fname)
161
161
    die("Please run nm --numeric-sort on drizzled binary that produced stack \
162
162
trace dump and specify the path to it with -s or --symbols-file");
163
 
  if (!(fp_sym = my_fopen(sym_fname, O_RDONLY, MYF(MY_WME))))
 
163
  if (!(fp_sym= fopen(sym_fname, "r")))
164
164
    die("Could not open %s", sym_fname);
165
165
 
166
166
}