~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field_conv.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:
85
85
{
86
86
  if (*copy->from_null_ptr & copy->from_bit)
87
87
  {
88
 
    bzero(copy->to_ptr,copy->from_length);
 
88
    memset(copy->to_ptr, 0, copy->from_length);
89
89
    copy->to_null_ptr[0]=1;                     // Always bit 1
90
90
  }
91
91
  else
101
101
  if (*copy->null_row ||
102
102
      (copy->from_null_ptr && (*copy->from_null_ptr & copy->from_bit)))
103
103
  {
104
 
    bzero(copy->to_ptr,copy->from_length);
 
104
    memset(copy->to_ptr, 0, copy->from_length);
105
105
    copy->to_null_ptr[0]=1;                     // Always bit 1
106
106
  }
107
107
  else