~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.c

  • Committer: Brian Aker
  • Date: 2008-07-29 07:47:38 UTC
  • mfrom: (212.6.1 bzero-memset)
  • Revision ID: brian@tangent.org-20080729074738-lfzim6htapm42f2o
MergeĀ fromĀ Mats

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
                                               sizeof(struct stat))))
134
134
        goto error;
135
135
      
136
 
      bzero(finfo.mystat, sizeof(struct stat));
 
136
      memset(finfo.mystat, 0, sizeof(struct stat));
137
137
      VOID(strmov(tmp_file,dp->d_name));
138
138
      VOID(stat(tmp_path, finfo.mystat));
139
139
      if (!(finfo.mystat->st_mode & MY_S_IREAD))