Commit 3d411bb1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix CRLF on Win32 with utf8_fopen (thanks to Md) closes #837

parent 0a637ed7
......@@ -349,6 +349,12 @@ FILE *utf8_fopen (const char *filename, const char *mode)
case '+':
rwflags = O_RDWR;
#ifdef O_TEXT
case 't':
oflags |= O_TEXT;
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