~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/bchange.cc

  • Committer: Toru Maesaka
  • Date: 2008-12-17 07:16:37 UTC
  • mto: (685.1.40 devel) (713.1.5 devel)
  • mto: This revision was merged to the branch mainline in revision 713.
  • Revision ID: dev@torum.net-20081217071637-7j9040w7lpms77r2
Removed my_time() and added error checking

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  if (old_length < new_length)
34
34
    bmove_upp(dst+rest+new_length,dst+tot_length,rest);
35
35
  else
36
 
    memcpy(dst+new_length, dst+old_length, rest);
 
36
    memmove(dst+new_length, dst+old_length, rest);
37
37
  memcpy(dst,src,new_length);
38
38
}