~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_symlink2.c

  • Committer: Brian Aker
  • Date: 2008-09-28 04:30:30 UTC
  • mfrom: (411.1.1 drizzle)
  • Revision ID: brian@gir.tangent.org-20080928043030-opk05wfxspweeina
Merge of my GNU stuff

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))