~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/default.c

  • Committer: Stewart Smith
  • Date: 2008-06-30 05:33:25 UTC
  • mfrom: (12.2.8 drizzle)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: stewart@flamingspork.com-20080630053325-mwrv6bjaufcpvj8n
merge my work

Show diffs side-by-side

added added

removed removed

Lines of Context:
610
610
  }
611
611
  fn_format(name,name,"","",4);
612
612
  {
613
 
    MY_STAT stat_info;
614
 
    if (!my_stat(name,&stat_info,MYF(0)))
 
613
    struct stat stat_info;
 
614
    if (stat(name,&stat_info))
615
615
      return 1;
616
616
    /*
617
617
      Ignore world-writable regular files.