summaryrefslogtreecommitdiff
path: root/mysys/my_getwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_getwd.c')
-rw-r--r--mysys/my_getwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_getwd.c b/mysys/my_getwd.c
index 89f949eca27..14d68168acd 100644
--- a/mysys/my_getwd.c
+++ b/mysys/my_getwd.c
@@ -208,7 +208,7 @@ int test_if_hard_path(register const char *dir_name)
my_bool has_path(const char *name)
{
- return test(strchr(name, FN_LIBCHAR))
+ return test(strchr(name, FN_LIBCHAR)) || test(strchr(name,'/'))
#ifdef FN_DEVCHAR
|| test(strchr(name, FN_DEVCHAR))
#endif