| 1372 | true if successful. */ |
| 1373 | |
| 1374 | static bool |
| 1375 | read_char (int *c) |
| 1376 | { |
| 1377 | bool ok = true; |
| 1378 | |
| 1379 | *c = EOF; |
| 1380 | |
| 1381 | while (in_stream && (*c = getc (in_stream)) < 0) |
| 1382 | { |
| 1383 | ok &= check_and_close (errno); |
| 1384 | ok &= open_next_file (); |
| 1385 | } |
| 1386 | |
| 1387 | return ok; |
| 1388 | } |
| 1389 | |
| 1390 | /* Read N bytes into BLOCK from the concatenation of the input files |
| 1391 | named in the global array FILE_LIST. On the first call to this |
no test coverage detected