# | Line 13 | Line 13 | static const char RCSid[] = "$Id$"; | |
---|---|---|
13 | #include <math.h> | |
14 | #include "platform.h" | |
15 | ||
16 | < | #define MAXCOL 2048 /* maximum number of columns */ |
16 | > | #define MAXCOL 8192 /* maximum number of columns */ |
17 | ||
18 | #define ADD 0 /* add numbers */ | |
19 | #define MULT 1 /* multiply numbers */ | |
# | Line 241 | Line 241 | char *fname | |
241 | } | |
242 | if (nbicols) | |
243 | SET_FILE_BINARY(fp); | |
244 | + | #ifdef getc_unlocked /* avoid lock/unlock overhead */ |
245 | + | flockfile(fp); |
246 | + | #endif |
247 | + | |
248 | ltotal = 0; | |
249 | while (!feof(fp)) { | |
250 | if (ltotal == 0) { /* initialize */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |