~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_symlink.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:
35
35
int my_readlink(char *to, const char *filename, myf MyFlags)
36
36
{
37
37
#ifndef HAVE_READLINK
38
 
  stpcpy(to,filename);
 
38
  my_stpcpy(to,filename);
39
39
  return 1;
40
40
#else
41
41
  int result=0;
47
47
    if ((my_errno=errno) == EINVAL)
48
48
    {
49
49
      result= 1;
50
 
      stpcpy(to,filename);
 
50
      my_stpcpy(to,filename);
51
51
    }
52
52
    else
53
53
    {