# | Line 71 | Line 71 | putbinary( /* fwrite() replacement for small objects | |
---|---|---|
71 | const char *s = (const char *)p; | |
72 | int nbytes = elsiz*nel; | |
73 | ||
74 | < | if (nbytes > 512) |
74 | > | if (nbytes > 256) |
75 | return(fwrite(p, elsiz, nel, fp)); | |
76 | ||
77 | while (nbytes-- > 0) | |
# | Line 152 | Line 152 | getbinary( /* fread() replacement for small objects | |
152 | int nbytes = elsiz*nel; | |
153 | int c; | |
154 | ||
155 | < | if (nbytes > 512) |
155 | > | if (nbytes > 256) |
156 | return(fread(p, elsiz, nel, fp)); | |
157 | ||
158 | while (nbytes-- > 0) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |