* Return a pointer to the start of the record that contains the * character `*p` (which must be within the buffer). If no other * record start is found, return `buf`. */
| 454 | * record start is found, return `buf`. |
| 455 | */ |
| 456 | static const char *find_start_of_record(const char *buf, const char *p) |
| 457 | { |
| 458 | while (p > buf && (p[-1] != '\n' || p[0] == '^')) |
| 459 | p--; |
| 460 | return p; |
| 461 | } |
| 462 | |
| 463 | /* |
| 464 | * Return a pointer to the start of the record following the record |
no outgoing calls
no test coverage detected