~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_fn_ext.c

  • Committer: Monty Taylor
  • Date: 2008-07-24 22:51:52 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080724225152-1t1vnoj93kr9tb39
Added very initial gettextize stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
 
17
17
#include "mysys_priv.h"
18
 
#include <mystrings/m_string.h>
 
18
#include <m_string.h>
19
19
 
20
20
/*
21
21
  Return a pointer to the extension of the filename.
48
48
    gpos= name;
49
49
#endif
50
50
  pos=strchr(gpos,FN_EXTCHAR);
51
 
  return((char*) (pos ? pos : strchr(gpos, '\0')));
 
51
  return((char*) (pos ? pos : strend(gpos)));
52
52
} /* fn_ext */