diff options
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_open.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mysys/my_open.c b/mysys/my_open.c index d19db0aaf0c..24d5c881372 100644 --- a/mysys/my_open.c +++ b/mysys/my_open.c @@ -45,10 +45,8 @@ File my_open(const char *FileName, int Flags, myf MyFlags) MyFlags|= my_global_flags; #if defined(_WIN32) fd= my_win_open(FileName, Flags); -#elif !defined(NO_OPEN_3) - fd = open(FileName, Flags, my_umask); /* Normal unix */ #else - fd = open((char *) FileName, Flags); + fd = open(FileName, Flags, my_umask); #endif fd= my_register_filename(fd, FileName, FILE_BY_OPEN, |