~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_dirname.cc

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include "config.h"
 
16
#include <config.h>
17
17
 
18
 
#include "drizzled/internal/my_sys.h"
19
 
#include "drizzled/internal/m_string.h"
 
18
#include <drizzled/internal/my_sys.h>
 
19
#include <drizzled/internal/m_string.h>
20
20
 
21
21
#include <algorithm>
22
22
 
31
31
 
32
32
size_t dirname_length(const char *name)
33
33
{
34
 
  register const char *pos, *gpos;
 
34
  const char *pos, *gpos;
35
35
#ifdef FN_DEVCHAR
36
36
  if ((pos=(char*)strrchr(name,FN_DEVCHAR)) == 0)
37
37
#endif