~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/comp_err.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:
315
315
 
316
316
    /* continue with header of the errmsg.sys file */
317
317
    length= ftell(to) - HEADER_LENGTH - row_count * 2;
318
 
    bzero((uchar*) head, HEADER_LENGTH);
 
318
    memset((uchar*) head, 0, HEADER_LENGTH);
319
319
    bmove((uchar *) head, (uchar *) file_head, 4);
320
320
    head[4]= 1;
321
321
    int2store(head + 6, length);