| 1582 | ON_HOLD columns to OPEN. Used at the end of each page. */ |
| 1583 | |
| 1584 | static void |
| 1585 | reset_status (void) |
| 1586 | { |
| 1587 | int i = columns; |
| 1588 | COLUMN *p; |
| 1589 | |
| 1590 | for (p = column_vector; i; --i, ++p) |
| 1591 | if (p->status == ON_HOLD) |
| 1592 | { |
| 1593 | p->status = OPEN; |
| 1594 | files_ready_to_read++; |
| 1595 | } |
| 1596 | |
| 1597 | if (storing_columns) |
| 1598 | { |
| 1599 | if (column_vector->status == CLOSED) |
| 1600 | /* We use the info to output an error message in skip_to_page. */ |
| 1601 | files_ready_to_read = 0; |
| 1602 | else |
| 1603 | files_ready_to_read = 1; |
| 1604 | } |
| 1605 | } |
| 1606 | |
| 1607 | /* Print a single file, or multiple files in parallel. |
| 1608 |
no outgoing calls
no test coverage detected