~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_path.cc

  • Committer: Toru Maesaka
  • Date: 2008-12-03 07:42:39 UTC
  • mto: (656.1.5 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: dev@torum.net-20081203074239-4qwr4u7prq7uqxet
First pass of replacing MySQL's my_stpcpy() with appropriate libc calls

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    to= strchr(to, '\0');
66
66
    if (to != start && to[-1] != FN_LIBCHAR)
67
67
      *to++ = FN_LIBCHAR;
68
 
    my_stpcpy(to,own_pathname_part);
 
68
    strcpy(to,own_pathname_part);
69
69
  }
70
70
  return(start);
71
71
} /* my_path */