summaryrefslogtreecommitdiff
path: root/mysys/my_create.c
diff options
context:
space:
mode:
authorunknown <reggie@big_geek.>2006-05-08 14:50:13 -0500
committerunknown <reggie@big_geek.>2006-05-08 14:50:13 -0500
commit6d50eb0e98c8d509fc7bda1fcad5ada28a938c3d (patch)
treedd3df64649d7ead588a0df258156657b5c8ddd41 /mysys/my_create.c
parent4ce6595d52fe03bd4f134a8f67a8fb72b2bc4a45 (diff)
downloadmariadb-git-6d50eb0e98c8d509fc7bda1fcad5ada28a938c3d.tar.gz
removing MSDOS defines and code
include/config-win.h: removed reference to MSDOS
Diffstat (limited to 'mysys/my_create.c')
-rw-r--r--mysys/my_create.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/mysys/my_create.c b/mysys/my_create.c
index d42e7e0db69..d27edb31d32 100644
--- a/mysys/my_create.c
+++ b/mysys/my_create.c
@@ -19,7 +19,7 @@
#include <my_dir.h>
#include "mysys_err.h"
#include <errno.h>
-#if defined(MSDOS) || defined(__WIN__)
+#if defined(__WIN__)
#include <share.h>
#endif
@@ -47,13 +47,6 @@ File my_create(const char *FileName, int CreateFlags, int access_flags,
#elif defined(VMS)
fd = open((my_string) FileName, access_flags | O_CREAT, 0,
"ctx=stm","ctx=bin");
-#elif defined(MSDOS)
- if (access_flags & O_SHARE)
- fd = sopen((my_string) FileName, access_flags | O_CREAT | O_BINARY,
- SH_DENYNO, MY_S_IREAD | MY_S_IWRITE);
- else
- fd = open((my_string) FileName, access_flags | O_CREAT | O_BINARY,
- MY_S_IREAD | MY_S_IWRITE);
#elif defined(__WIN__)
fd= my_sopen((my_string) FileName, access_flags | O_CREAT | O_BINARY,
SH_DENYNO, MY_S_IREAD | MY_S_IWRITE);