summaryrefslogtreecommitdiff
path: root/mysys/my_open.c
diff options
context:
space:
mode:
authoranozdrin@mysql.com <>2005-11-24 18:27:14 +0300
committeranozdrin@mysql.com <>2005-11-24 18:27:14 +0300
commitac00e90bd6a882ac7be0eed0a62106d060cb9c3b (patch)
treed062bbb5535bfa9d323d59d6a95822f74aebc073 /mysys/my_open.c
parent21a9d6a6160e3a20686f64fedc1e42459f79baa0 (diff)
downloadmariadb-git-ac00e90bd6a882ac7be0eed0a62106d060cb9c3b.tar.gz
Polishing: get rid of C++-style comments.
Diffstat (limited to 'mysys/my_open.c')
-rw-r--r--mysys/my_open.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/my_open.c b/mysys/my_open.c
index baca97450b7..6ed3cb5becf 100644
--- a/mysys/my_open.c
+++ b/mysys/my_open.c
@@ -267,7 +267,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
*/
switch (oflag & (_O_CREAT | _O_EXCL | _O_TRUNC)) {
case 0:
- case _O_EXCL: // ignore EXCL w/o CREAT
+ case _O_EXCL: /* ignore EXCL w/o CREAT */
filecreate= OPEN_EXISTING;
break;
@@ -281,7 +281,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
break;
case _O_TRUNC:
- case _O_TRUNC | _O_EXCL: // ignore EXCL w/o CREAT
+ case _O_TRUNC | _O_EXCL: /* ignore EXCL w/o CREAT */
filecreate= TRUNCATE_EXISTING;
break;
@@ -290,7 +290,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
break;
default:
- // this can't happen ... all cases are covered
+ /* this can't happen ... all cases are covered */
errno= EINVAL;
_doserrno= 0L;
return -1;