~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_fn_ext.cc

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
 
16
#include "config.h"
16
17
 
17
 
#include "drizzled/internal/mysys_priv.h"
 
18
#include "drizzled/internal/my_sys.h"
18
19
#include "drizzled/internal/m_string.h"
19
20
 
 
21
namespace drizzled
 
22
{
 
23
namespace internal
 
24
{
 
25
 
20
26
/*
21
27
  Return a pointer to the extension of the filename.
22
28
 
50
56
  pos=strchr(gpos,FN_EXTCHAR);
51
57
  return((char*) (pos ? pos : strchr(gpos, '\0')));
52
58
} /* fn_ext */
 
59
 
 
60
} /* namespace internal */
 
61
} /* namespace drizzled */