Commit Diff


commit - bfdc637cd940bf4b07066ff96bb48d8bc40e7134
commit + 03f497279db41e42ac287a15df9f9e03c4c83fd2
blob - 139329941db7f78569ec98d16b7566f4caab8937
blob + 343ee6ed664dd116c5552294d00eade60b6d28c3
--- 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;