~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.c

  • Committer: Brian Aker
  • Date: 2008-08-09 21:43:24 UTC
  • mfrom: (279.1.4 codestyle)
  • Revision ID: brian@tangent.org-20080809214324-jy2c15bx49naddsf
Merge from Monty

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(strmov(tmp_file,dp->d_name));
 
137
      VOID(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=strmov(dst, src);
 
193
  end=stpcpy(dst, src);
194
194
  if (end[-1] != FN_LIBCHAR)
195
195
  {
196
196
    end[0]=FN_LIBCHAR;                          /* Add last '/' */