* Return a pointer to the start of the record following the record * that contains `*p`. If none is found before `end`, return `end`. */
| 465 | * that contains `*p`. If none is found before `end`, return `end`. |
| 466 | */ |
| 467 | static const char *find_end_of_record(const char *p, const char *end) |
| 468 | { |
| 469 | while (++p < end && (p[-1] != '\n' || p[0] == '^')) |
| 470 | ; |
| 471 | return p; |
| 472 | } |
| 473 | |
| 474 | /* |
| 475 | * We want to be able to compare mmapped reference records quickly, |
no outgoing calls
no test coverage detected