280 |
|
return(0); |
281 |
|
fflush(stdout); |
282 |
|
while ((n = fread(buf, 1, sizeof(buf), fp)) > 0) { |
283 |
< |
if (write(fileno(stdout), buf, n) != n) |
283 |
> |
if (write(1, buf, n) != n) |
284 |
|
return(0); |
285 |
|
ntot += n; |
286 |
|
} |
618 |
|
fmtid = fmt; |
619 |
|
return(0); |
620 |
|
} |
621 |
< |
if ((comp_size == 1) & (n_comp > 1)) |
621 |
> |
if (!check & (comp_size == 1) & (n_comp > 1)) |
622 |
|
return(0); /* byte exception - skip check */ |
623 |
|
if (!strcmp(fmt, fmtid)) |
624 |
|
return(0); |
644 |
|
return(0); |
645 |
|
} |
646 |
|
if (!strncmp(s, "NCOMP=", 6)) { |
647 |
< |
if ((comp_size == 1) & (n_comp > 1)) |
647 |
> |
if (!check & (comp_size == 1) & (n_comp > 1)) |
648 |
|
return(0); /* byte exception - ignore */ |
649 |
|
n = atoi(s+6); |
650 |
|
if ((n_comp > 0) & (n != n_comp)) { |