Remove BINARY_FILE_IO option #2179

The 'binary' mode flag is ignored on all POSIX conforming systems (man 3
fopen). For all the others, BINARY_FILE_IO needs to be set.

Always set BINARY_FILE_IO.

Signed-off-by: Perry Hung <iperry@gmail.com>
This commit is contained in:
Perry Hung
2015-03-18 07:44:17 -04:00
committed by Justin M. Keyes
parent 8f6ecc4089
commit 657d274520

View File

@@ -97,15 +97,9 @@
*/
#define vim_isbreak(c) (breakat_flags[(char_u)(c)])
#ifdef BINARY_FILE_IO
#define WRITEBIN "wb" /* no CR-LF translation */
#define READBIN "rb"
#define APPENDBIN "ab"
#else
# define WRITEBIN "w"
# define READBIN "r"
# define APPENDBIN "a"
#endif
# define mch_fopen(n, p) fopen((n), (p))