summaryrefslogtreecommitdiff
path: root/mysys/mf_unixpath.c
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:16:06 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:16:06 -0300
commit13f7a1d2447c002adc36dd1bd51305edbc8e8636 (patch)
tree5f9985f179d0e43f7caa8e99eaf627865f967ba0 /mysys/mf_unixpath.c
parent07e7b4d6fe590cb49a5009842d3153520f2e1a36 (diff)
downloadmariadb-git-13f7a1d2447c002adc36dd1bd51305edbc8e8636.tar.gz
WL#5486: Remove code for unsupported platforms
Remove MS-DOS specific code.
Diffstat (limited to 'mysys/mf_unixpath.c')
-rw-r--r--mysys/mf_unixpath.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/mysys/mf_unixpath.c b/mysys/mf_unixpath.c
index 75f8de14879..ee81aae4584 100644
--- a/mysys/mf_unixpath.c
+++ b/mysys/mf_unixpath.c
@@ -16,10 +16,15 @@
#include "mysys_priv.h"
#include <m_string.h>
- /* convert filename to unix style filename */
- /* If MSDOS converts '\' to '/' */
+/**
+ Convert filename to unix style filename.
-void to_unix_path(char * to __attribute__((unused)))
+ @remark On Windows, converts '\' to '/'.
+
+ @param to A pathname.
+*/
+
+void to_unix_path(char *to __attribute__((unused)))
{
#if FN_LIBCHAR != '/'
{