On 2020-08-30 15:27, Kurt-Karen Carlson-Lougheed via Cygwin wrote:
> In a small percentage of qsort requests, the results are erratic. Running
> the same code under Linux (RHEL7) does NOT have this problem. I updated my
> cygwin to current and the problem persists. I copied the latest netbsd.org
> qsort.c and compiled into my code, the problem is resolved with that
> version of qsort.
> 
> In researching this issue, there was a post to this list 2015-01-11
> reporting a
> 'damaged' qsort. This may still be the same issue. The netbsd version I am
> now using is dated 2017-05-19.
> 
> My code experiencing this is SourceForge uac19, I'll be posting the
> corrected version (v3.2) with the netbsd qsort tomorrow after completing
> validation tests. I would ultimately like to see cygwin's qsort fixed.

As qsort depends on the array object data types and comparison functions, please
post a Simple Test Case, showing at least those types and function(s), and the
faulty output results.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to