Hopefully fopen() would not barf upon seeing "b", and O_BINARY
can be ifdefed to 0 on platforms where it is not applicable and
or'ed in to the flags. As long as they can be proven to be
useful on Cygwin, I do not see an issue.
According to
http://www.cygwin.com/faq/faq.api.html#faq.api.cr-lf
adding those flags should be okay:
"Note that because the open/fopen switches are defined by ANSI, they
exist under most flavors of Unix; open/fopen will just ignore the switch
since they have no meaning to UNIX."
--
Sebastian Schuberth
-
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