> How about this instead? > > mingw.c: Use the O_BINARY flag to open files > > On Windows, non-text files must be opened using the O_BINARY flag. > MinGW does this for us automatically, but Microsoft Visual C++ > does not. > > Also, Johannes said that this would be a nice cleanup. > Okay, Do you need me change commit comments to resubmit patch? > BTW what about fopen()? I never found problem at fopen, I will double check it. > > Patch is obviously good. > > Ciao, > Dscho > -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html