summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-11-16 10:37:30 -0700
committerunknown <sasha@mysql.sashanet.com>2000-11-16 10:37:30 -0700
commit4ddac2140db63c3332f43502bce6c9cb50744ae6 (patch)
treedc8e310db20b168ab8e30b9bf6b7452066e7a4ce /mysys
parentf44a41f013a8791fc2ddba88a9f23efe5cfb6c99 (diff)
downloadmariadb-git-4ddac2140db63c3332f43502bce6c9cb50744ae6.tar.gz
BUILD/compile-pentium-debug
make -j 2 mysys/my_open.c my_umask is better than 0 - we do not want 0000 files when my_open() is called with O_CREAT sql/log.cc fixed up IO_CACHE to make replication work, not fully yet sql/log_event.cc fixed up IO_CACHE BUILD/compile-pentium-debug: make -j 2 BitKeeper/etc/ignore: Added repl-tests/test-repl/sum-wlen-slave.master.reje support-files/mysql-3.23.28-gamma.spec to the ignore list mysys/my_open.c: my_umask is better than 0 - we do not want 0000 files when my_open() is called with O_CREAT sql/log.cc: fixed up IO_CACHE to make replication work, not fully yet sql/log_event.cc: fixed up IO_CACHE
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_open.c b/mysys/my_open.c
index 85df8a46b53..98733266d1b 100644
--- a/mysys/my_open.c
+++ b/mysys/my_open.c
@@ -40,7 +40,7 @@ File my_open(const char *FileName, int Flags, myf MyFlags)
else
fd = open((my_string) FileName, Flags | O_BINARY);
#elif !defined(NO_OPEN_3)
- fd = open(FileName, Flags, 0); /* Normal unix */
+ fd = open(FileName, Flags, my_umask); /* Normal unix */
#else
fd = open((my_string) FileName, Flags);
#endif