diff options
author | unknown <cbell/Chuck@mysql_cab.> | 2006-11-02 08:34:16 -0500 |
---|---|---|
committer | unknown <cbell/Chuck@mysql_cab.> | 2006-11-02 08:34:16 -0500 |
commit | b9c97546d3111759ef0c4525182932860ac88922 (patch) | |
tree | 1a2206b2f85ff17ddcfeefb788b07e2eee5a4a18 /client/mysqlbinlog.cc | |
parent | 70111f50c90a85716ad528c56eee1bc2b3029aad (diff) | |
download | mariadb-git-b9c97546d3111759ef0c4525182932860ac88922.tar.gz |
BUG#23735 Changes to comments in code for explanation of fix.
client/mysqlbinlog.cc:
BUG#23735 Corrections to comments in code for explaination of fix.
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 74d611ed0f2..660be6bce50 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -1361,15 +1361,12 @@ static int dump_local_log_entries(const char* logname) else // reading from stdin; { /* - Bug fix: #23735 - Author: Chuck Bell - Description: - Windows opens stdin in text mode by default. Certain characters - such as CTRL-Z are interpeted as events and the read() method - will stop. CTRL-Z is the EOF marker in Windows. to get past this - you have to open stdin in binary mode. Setmode() is used to set - stdin in binary mode. Errors on setting this mode result in - halting the function and printing an error message to stderr. + Windows opens stdin in text mode by default. Certain characters + such as CTRL-Z are interpeted as events and the read() method + will stop. CTRL-Z is the EOF marker in Windows. to get past this + you have to open stdin in binary mode. Setmode() is used to set + stdin in binary mode. Errors on setting this mode result in + halting the function and printing an error message to stderr. */ #if defined (__WIN__) || (_WIN64) if (_setmode(fileno(stdin), O_BINARY) == -1) |