(main,ef_open) [_WIN32]: switch the default file mode to

binary to match POSIX.  Remove the now unneccessary ifdef for
the open.
This commit is contained in:
Ron Koenderink 2004-12-29 23:40:04 +00:00
parent c3ac61e1e4
commit f6e78f4589

View file

@ -88,6 +88,10 @@ main(int argc, char *argv[])
char *config_file = NULL;
int force = 0;
#if defined(_WIN32)
_fmode = _O_BINARY;
#endif
while ((opt = getopt(argc, argv, "e:f")) != EOF) {
switch (opt) {
case 'e':