# | Line 199 | Line 199 | main(int argc, char *argv[]) | |
---|---|---|
199 | strcat(RFeatureList, RCONTRIB_FEATURES); | |
200 | if (argc > 1 && !strcmp(argv[1], "-features")) | |
201 | return feature_status(argc-2, argv+2); | |
202 | < | #if defined(_WIN32) || defined(_WIN64) |
203 | < | _setmaxstdio(2048); /* increase file limit to maximum */ |
202 | > | #if defined(_WIN32) || defined(_WIN64) /* increase file limit to maximum */ |
203 | > | for (i = 8192; i > _IOB_ENTRIES; i >>= 1) |
204 | > | if (_setmaxstdio(i) == i) |
205 | > | break; |
206 | #endif | |
207 | /* initialize calcomp routines early */ | |
208 | initfunc(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |