~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_symlink.cc

  • Committer: Monty Taylor
  • Date: 2008-12-02 08:56:16 UTC
  • mfrom: (629.5.6 remove-strmake)
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: mordred@solanthus.local-20081202085616-k1dvv8fly0jt70ho
MergedĀ fromĀ Toru.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
    char *ptr;
119
119
    if ((ptr=realpath(filename,buff)))
120
120
    {
121
 
      strmake(to,ptr,FN_REFLEN-1);
 
121
      strncpy(to,ptr,FN_REFLEN-1);
122
122
    }
123
123
    else
124
124
    {