~jaypipes/drizzle/item-class-file-reorg

« back to all changes in this revision

Viewing changes to mysys/my_init.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:
118
118
    struct rusage rus;
119
119
#ifdef HAVE_purify
120
120
    /* Purify assumes that rus is uninitialized after getrusage call */
121
 
    bzero((char*) &rus, sizeof(rus));
 
121
    memset((char*) &rus, 0, sizeof(rus));
122
122
#endif
123
123
    if (!getrusage(RUSAGE_SELF, &rus))
124
124
      fprintf(info_file,"\n\