Merge pull request #6325 from keszybz/make-delta-boring-again

Make delta output repeatable
This commit is contained in:
Lennart Poettering
2017-07-11 10:00:21 +02:00
committed by GitHub
2 changed files with 84 additions and 49 deletions
+1 -5
View File
@@ -770,11 +770,7 @@ static int str_compare(const void *_a, const void *_b) {
}
char **strv_sort(char **l) {
if (strv_isempty(l))
return l;
qsort(l, strv_length(l), sizeof(char*), str_compare);
qsort_safe(l, strv_length(l), sizeof(char*), str_compare);
return l;
}