~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 03:20:53 UTC
  • mto: This revision was merged to the branch mainline in revision 413.
  • Revision ID: brian@tangent.org-20080928032053-rclc4iiwmwedsf73
Work on removing GNU specific calls.

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
    {