diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2016-10-21 16:20:47 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2016-10-22 11:06:26 +0000 |
commit | 8f5e3e2a3491ae0f1b47400a82408b7853ae1efb (patch) | |
tree | 8a918112ec883d40e993753138e7e95deaad01aa /mysys/my_access.c | |
parent | 25848978334f9682f0b4712bf9d7c8222bab606f (diff) | |
download | mariadb-git-8f5e3e2a3491ae0f1b47400a82408b7853ae1efb.tar.gz |
Fix escaping '\' in a string constant.
Diffstat (limited to 'mysys/my_access.c')
-rw-r--r-- | mysys/my_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_access.c b/mysys/my_access.c index 0da5e7f0bf0..91a536d214e 100644 --- a/mysys/my_access.c +++ b/mysys/my_access.c @@ -186,7 +186,7 @@ static my_bool does_drive_exists(char drive_letter) @return TRUE if the file name is allowed, FALSE otherwise. */ -#define ILLEGAL_FILENAME_CHARS "<>:\"/\|?*" +#define ILLEGAL_FILENAME_CHARS "<>:\"/\\|?*" my_bool is_filename_allowed(const char *name __attribute__((unused)), size_t length __attribute__((unused)), |