~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.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:
134
134
        goto error;
135
135
      
136
136
      memset(finfo.mystat, 0, sizeof(struct stat));
137
 
      VOID(stpcpy(tmp_file,dp->d_name));
 
137
      VOID(my_stpcpy(tmp_file,dp->d_name));
138
138
      VOID(stat(tmp_path, finfo.mystat));
139
139
      if (!(finfo.mystat->st_mode & S_IREAD))
140
140
        continue;
190
190
 
191
191
  if (src[0] == 0)
192
192
    src= (char*) ".";                           /* Use empty as current */
193
 
  end=stpcpy(dst, src);
 
193
  end=my_stpcpy(dst, src);
194
194
  if (end[-1] != FN_LIBCHAR)
195
195
  {
196
196
    end[0]=FN_LIBCHAR;                          /* Add last '/' */