X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D89A3857C7E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1598822836; bh=BqlmSLJ/8p2Z68/j4ywJL5wa4YMgocudW3+WOPB49Wc=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=PmkvwXDnm/GhxajszDzuH30jg3/xWTR4jrxt0h9X95o8WaM9Vbe+ZVPuZ5XQDhiLf U9B4fp82pYwNWUa4NrWoDTMr1nhnyfFCRwOGO+WrAerzy8JQkbCZGDqDWQsMehNrI9 Lx+1LS79qL1dCW64uVcEE+U8OR4r7BKGzTYWEPM8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2029D3858D35 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/C7Iy5vxZDgY8jxq0LSFFfpxpZk4ykGZZFR7689jVh4=; b=DiF9LD+jbdwRVr8gdo/RA2WiDA1fKK3A/swrUZ1yKfCrD4vZZkKwRMy3AXUa+xVUou jZPiARDDlGSJnqw1k6cU83udi+LruRv0QE3HAIZhS1ofBog9EuvNDPhbmwUnWrX8xJ8O kgU5F+OQHB8F5J489/gOS5EZY79vRxvpHRRv4z/ZnWfIeJ6Kx9LeDwnVa0WUyUuSRJMm 8R2k7o5DgQ0So9abA0fFfgFy03R200sPulYFUct6fqLtAsjGXT31tvAarVtzJJO7eWYE cz3ctbqU2g3YainrMJ79M8+P1ixCZwir0QDJEAUb4LOFqx0n7uEUR6ukwEXzzEX4so8E 0ubg== X-Gm-Message-State: AOAM531vnI/hYxkOgVgQLskmfpJbWu7aGSUX3WMTwnjKI1Lhk3GY6CFL i1kHfv2pvX2C9P4XIC6d/xWq275sKnUDX+/HcpPLfCiq X-Google-Smtp-Source: ABdhPJxb70/SI0ayl/2dliWiDv2L3m8E98cxDRzWBhAojviCi6mEBk3FDSc8ra4E6qV39zf+rAwRw8wQXP+lG2vRVDg= X-Received: by 2002:aca:52d4:: with SMTP id g203mr1769754oib.13.1598822832117; Sun, 30 Aug 2020 14:27:12 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 30 Aug 2020 14:27:01 -0700 Message-ID: Subject: cygwin qsort erratic To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Kurt-Karen Carlson-Lougheed via Cygwin Reply-To: Kurt-Karen Carlson-Lougheed Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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. Regards, Kurt -- 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