summaryrefslogtreecommitdiff
path: root/mergetools/winmerge
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-01-22 18:52:13 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-23 11:02:36 -0800
commit3ca869940994866796edf9e53e52d80f82c3c04c (patch)
treef142a9dd9059877bc251038bed73f131f89f4733 /mergetools/winmerge
parentcompat: add qsort_s() (diff)
downloadtgif-3ca869940994866796edf9e53e52d80f82c3c04c.tar.xz
add QSORT_S
Add the macro QSORT_S, a convenient wrapper for qsort_s() that infers the size of the array elements and dies on error. Basically all possible errors are programming mistakes (passing NULL as base of a non-empty array, passing NULL as comparison function, out-of-bounds accesses), so terminating the program should be acceptable for most callers. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mergetools/winmerge')
0 files changed, 0 insertions, 0 deletions