~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_path.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:
64
64
    to= strchr(to, '\0');
65
65
    if (to != start && to[-1] != FN_LIBCHAR)
66
66
      *to++ = FN_LIBCHAR;
67
 
    VOID(stpcpy(to,own_pathname_part));
 
67
    VOID(my_stpcpy(to,own_pathname_part));
68
68
  }
69
69
  return(start);
70
70
} /* my_path */
92
92
  {
93
93
    if (path != pos)
94
94
    {
95
 
      strxmov(stpncpy(to,path,(uint) (pos-path)),dir,name,ext,NullS);
 
95
      strxmov(my_stpncpy(to,path,(uint) (pos-path)),dir,name,ext,NullS);
96
96
      if (!access(to,F_OK))
97
97
      {
98
98
        to[(uint) (pos-path)+1]=0;      /* Return path only */