Commit ac00e90b authored by anozdrin@mysql.com's avatar anozdrin@mysql.com

Polishing: get rid of C++-style comments.

parent 21a9d6a6
...@@ -267,7 +267,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode) ...@@ -267,7 +267,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
*/ */
switch (oflag & (_O_CREAT | _O_EXCL | _O_TRUNC)) { switch (oflag & (_O_CREAT | _O_EXCL | _O_TRUNC)) {
case 0: case 0:
case _O_EXCL: // ignore EXCL w/o CREAT case _O_EXCL: /* ignore EXCL w/o CREAT */
filecreate= OPEN_EXISTING; filecreate= OPEN_EXISTING;
break; break;
...@@ -281,7 +281,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode) ...@@ -281,7 +281,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
break; break;
case _O_TRUNC: 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; filecreate= TRUNCATE_EXISTING;
break; break;
...@@ -290,7 +290,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode) ...@@ -290,7 +290,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
break; break;
default: default:
// this can't happen ... all cases are covered /* this can't happen ... all cases are covered */
errno= EINVAL; errno= EINVAL;
_doserrno= 0L; _doserrno= 0L;
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment