~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/default.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:
624
624
      return 0;
625
625
    }
626
626
  }
627
 
  if (!(fp= my_fopen(name, O_RDONLY, MYF(0))))
 
627
  if (!(fp= fopen(name, "r")))
628
628
    return 1;                                   /* Ignore wrong files */
629
629
 
630
630
  memset(buff,0,sizeof(buff));
823
823
        goto err;
824
824
    }
825
825
  }
826
 
  my_fclose(fp,MYF(0));
 
826
  fclose(fp);
827
827
  return(0);
828
828
 
829
829
 err:
830
 
  my_fclose(fp,MYF(0));
 
830
  fclose(fp);
 
831
 
831
832
  return -1;                                    /* Fatal error */
832
833
}
833
834