| 1410 |
and its line-ending characters (if they matched the pattern), so there |
and its line-ending characters (if they matched the pattern), so there |
| 1411 |
may be no more to print. */ |
may be no more to print. */ |
| 1412 |
|
|
| 1413 |
plength = (int)((linelength + endlinelength) - startoffset); |
plength = (linelength + endlinelength) - startoffset; |
| 1414 |
if (plength > 0) FWRITE(ptr + startoffset, 1, plength, stdout); |
if (plength > 0) FWRITE(ptr + startoffset, 1, plength, stdout); |
| 1415 |
} |
} |
| 1416 |
|
|
| 1462 |
|
|
| 1463 |
if (input_line_buffered && bufflength < (size_t)bufsize) |
if (input_line_buffered && bufflength < (size_t)bufsize) |
| 1464 |
{ |
{ |
| 1465 |
int add = read_one_line(ptr, bufsize - (int)(ptr - main_buffer), in); |
int add = read_one_line(ptr, bufsize - (ptr - main_buffer), in); |
| 1466 |
bufflength += add; |
bufflength += add; |
| 1467 |
endptr += add; |
endptr += add; |
| 1468 |
} |
} |