~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_dirname.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-28 14:32:36 UTC
  • mto: (2257.1.1 build) (2276.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: olafvdspek@gmail.com-20110328143236-4ge1d793iqaktfq0
Common fwd

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