~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_symlink2.c

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
    return(my_rename(from, to, MyFlags));
131
131
 
132
132
  /* Change filename that symlink pointed to */
133
 
  stpcpy(tmp_name, to);
 
133
  my_stpcpy(tmp_name, to);
134
134
  fn_same(tmp_name,link_name,1);                /* Copy dir */
135
135
  name_is_different= strcmp(link_name, tmp_name);
136
136
  if (name_is_different && !access(tmp_name, F_OK))