summaryrefslogtreecommitdiff
path: root/builtin/fast-export.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-01-31 13:15:00 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-31 13:15:00 -0800
commit6ad8b8e98faa5a301a98a2997da162dea060672e (patch)
tree99ca685d15df287c1f686c033157756d439c119c /builtin/fast-export.c
parentMerge branch 'ls/travis-p4-on-macos' (diff)
parentref-filter: use QSORT_S in ref_array_sort() (diff)
downloadtgif-6ad8b8e98faa5a301a98a2997da162dea060672e.tar.xz
Merge branch 'rs/qsort-s'
A few codepaths had to rely on a global variable when sorting elements of an array because sort(3) API does not allow extra data to be passed to the comparison function. Use qsort_s() when natively available, and a fallback implementation of it when not, to eliminate the need, which is a prerequisite for making the codepath reentrant. * rs/qsort-s: ref-filter: use QSORT_S in ref_array_sort() string-list: use QSORT_S in string_list_sort() perf: add basic sort performance test add QSORT_S compat: add qsort_s()
Diffstat (limited to 'builtin/fast-export.c')
0 files changed, 0 insertions, 0 deletions