DF-5697 / build.log
using CC=/tmp/opencode/zig/zig-linux-x86_64-0.13.0/zig cc
18620ff1b212f95ac1e6dedecbdef1df59ce7a7cae5a5f69e0268ca425e10eed qsort_v.c
qsort_v.c == qsort_v.src.c
=== diff verbatim -> qsort_fixed7.c (the DF-5697 fix) ===
--- qsort_v.c 2026-10-10 05:56:23.580436943 +0000
+++ qsort_fixed7.c 2026-10-10 05:55:00.225519707 +0000
@@ -108,6 +108,8 @@
char *pa, *pb, *pc, *pd, *pl, *pm, *pn;
int d, r, swaptype, swap_cnt;
+ if (es == 0) /* degenerate element size: nothing to do */
+ return;
loop: SWAPINIT(a, es);
swap_cnt = 0;
if (n < 7) {
BUILD_RC=0