~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/thr_malloc.cc

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:
43
43
{
44
44
  void *ptr;
45
45
  if ((ptr=sql_alloc(size)))
46
 
    bzero(ptr,size);
 
46
    memset(ptr, 0, size);
47
47
  return ptr;
48
48
}
49
49