summaryrefslogtreecommitdiff
path: root/mysys/my_fopen.c
diff options
context:
space:
mode:
authorreggie@mdk10.(none) <>2005-05-23 14:48:25 -0500
committerreggie@mdk10.(none) <>2005-05-23 14:48:25 -0500
commit3384ecc988ef999b1fadfecce96f310923754f7d (patch)
tree29f0a6a8643629fff4ef73095865522b077268f6 /mysys/my_fopen.c
parent78b40d0a0ff0771842af25e08d3672c8b5836588 (diff)
downloadmariadb-git-3384ecc988ef999b1fadfecce96f310923754f7d.tar.gz
BUG# 9148 Denial of service
fixups of test case and comment formatting
Diffstat (limited to 'mysys/my_fopen.c')
-rw-r--r--mysys/my_fopen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysys/my_fopen.c b/mysys/my_fopen.c
index 208e7e80fd8..4310250bd0d 100644
--- a/mysys/my_fopen.c
+++ b/mysys/my_fopen.c
@@ -34,8 +34,9 @@ FILE *my_fopen(const char *FileName, int Flags, myf MyFlags)
DBUG_PRINT("my",("Name: '%s' Flags: %d MyFlags: %d",
FileName, Flags, MyFlags));
/*
- * if we are not creating, then we need to use my_access to make sure
- * the file exists since Windows doesn't handle files like "com1.sym" very well
+ if we are not creating, then we need to use my_access to make sure
+ the file exists since Windows doesn't handle files like "com1.sym"
+ very well
*/
#ifdef __WIN__
if (! (Flags & O_CREAT) && my_access(FileName, F_OK))