~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_dirname.cc

Merge Monty - Updates to pandora-build to support features of gcc 4.5.

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
 
  const char *pos, *gpos;
 
34
  register const char *pos, *gpos;
35
35
#ifdef FN_DEVCHAR
36
36
  if ((pos=(char*)strrchr(name,FN_DEVCHAR)) == 0)
37
37
#endif