~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_mutex.c

Replacing all bzero() calls with memset() calls and removing the bzero.c file.
Also removing check for bzero from the 'configure.ac' autoconf file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
                    const char *file,
57
57
                    uint line)
58
58
{
59
 
  bzero((char*) mp,sizeof(*mp));
 
59
  memset((char*) mp, 0, sizeof(*mp));
60
60
  pthread_mutex_init(&mp->global,MY_MUTEX_INIT_ERRCHK);
61
61
  pthread_mutex_init(&mp->mutex,attr);
62
62
  /* Mark that mutex is initialized */