From 8c937b86b294a3ef6afa0c1d0d15afccee57ab87 Mon Sep 17 00:00:00 2001 From: Mats Kindahl Date: Thu, 2 Dec 2010 09:18:47 +0100 Subject: [PATCH] Bug #58246: INSTALL PLUGIN not secure & crashable Adding symbol FN_DIRSEP to Windows as well. --- include/my_global.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/my_global.h b/include/my_global.h index 155450e07de..a411ab8a118 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -611,6 +611,7 @@ typedef SOCKET_SIZE_TYPE size_socket; #ifdef _WIN32 #define FN_LIBCHAR '\\' #define FN_LIBCHAR2 '/' +#define FN_DIRSEP "/\\" /* Valid directory separators */ #define FN_ROOTDIR "\\" #define FN_DEVCHAR ':' #define FN_NETWORK_DRIVES /* Uses \\ to indicate network drives */