Making a bootable QNX CD

John Eddy <john.h.eddy@lmco.com> wrote:

I posted this on qdn.public.devtools, and got a reply that there was a bug
in qsort() that doesn’t play nice in mkisofs. I am still waiting for someone
to post the fix to this.

Have never seen the problem, but until a new libc comes out all I did was
in mkisofs/write.c, in the 3 compare_*() qsort callback functions, add in:

#ifdef QNXNTO
if (rr == ll) return(0);
#endif