Remove the set_fmode

resolve issue: https://github.com/Unidata/netcdf-c/issues/1138
This commit is contained in:
Dennis Heimbigner 2018-09-10 12:38:18 -06:00 committed by GitHub
parent 7514d7feaa
commit 57e2e9cbf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,11 +70,6 @@ nc_initialize()
NC_initialized = 1;
NC_finalized = 0;
#ifdef _MSC_VER
/* Force binary mode */
_set_fmode(_O_BINARY);
#endif
/* Do general initialization */
if((stat = NCDISPATCH_initialize())) goto done;