Commit Diff
--- lib/diff_atomize_text.c +++ lib/diff_atomize_text.c @@ -93,7 +93,7 @@ diff_data_atomize_text_lines_fd(struct diff_data *d) /* Starting point for next line: */ pos = line_end; if (lseek(d->root->fd, pos, SEEK_SET) == -1) - abort(); + return errno; } return DIFF_RC_OK;