I find it very strange both the C11 standard
(ISO/IEC 9899:2011, K.3.6.3.2) and the ISO/IEC JTC1 SC22 WG14 N1172 standard,
does not define sorting an array having objects of zero size,
as undefined behaviour.
Add proper checks for this. Found while working on bsort(3).
MFC after: 1 week
Sponsored by: NVIDIA Networking