~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cached_directory.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-05 12:15:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110705121512-7c7iy6vf94gr61pk
UseĀ operator=

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
          struct stat entrystat;
178
178
 
179
179
          buffered_fullpath.append(in_path);
180
 
          if (buffered_fullpath[buffered_fullpath.length()] != '/')
 
180
          if (buffered_fullpath[buffered_fullpath.length() - 1] != '/')
181
181
            buffered_fullpath.append(1, FN_LIBCHAR);
182
182
 
183
 
          buffered_fullpath.assign(result->d_name);
 
183
          buffered_fullpath= result->d_name;
184
184
 
185
185
          stat(buffered_fullpath.c_str(), &entrystat);
186
186