delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/01/02/16:28:49

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0FB493858429
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1704230927;
bh=LUfm4tEhlfP0taj7ikiaAApzgczYj4I3T65wL5Hfny4=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=qAbqZxPOyXMIrTzyXfRoqNvrDP8z/sqzxh+hOlRX4bC9jtM5ZJVU7npc67zzm4ydg
W138rv0MyuerbtTTtQqYSaNWdhsTWMvGzT3E4UTd9c8XcnlN6FvS+TAmoR7EjWVGPf
RqKrRiZ+HdET/6yoLIrS5ZHbM1j2veRH2OozUgl8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 58A9E3858D32
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 58A9E3858D32
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704230903; cv=none;
b=g2X0wEEwpn1YsBLVMmNlyVom6ncMCQ9z2pJ9LqNZ/Y2gHN4p+0h4YxICbcqh6FpfKU/MG0oL0w8UqlkvzcrKumdnqVVsn0Ru6hd1WjtyFBpFWuHKLDo6iRZOZ4bl3jFW4rFuycCd62YTJYAET5CWQj8kmPy9S4T2rsQcShk1FPE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1704230903; c=relaxed/simple;
bh=Ngd08yQ5TFGzZL/ygkAdTOGsj4wpe/9Y9/3rm7Dr2us=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=pOfNxnsiRCz/GnV66RMJb0Ji1AW+52k64Y27QGHPVOMGZD3DMvgfhBV34JdUr7YaP0iKkAWmqatpmff5JZLtm/Hj+bCZzS60yp7MfO3pC3SKKT58+A6l1BM75TF+RCnQJwKmyofHeGn70T9KwV7K3aS9E09nlqbIv+uoeZJ8p7Y=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <ef3d8337-7b76-4d25-a300-7c13ff54de40@SystematicSW.ab.ca>
Date: Tue, 2 Jan 2024 14:28:16 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: strverscmp is buggy in newlib 4.4.0 (was: Cygwin 3.4.6)
To: newlib AT sourceware DOT org
References: <13421190 DOT uLZWGnKmhe AT nimes>
<1052086998 DOT 4232956 DOT 1704227350804 AT mail DOT yahoo DOT com>
Organization: Systematic Software
In-Reply-To: <1052086998.4232956.1704227350804@mail.yahoo.com>
X-Rspamd-Queue-Id: 532D32002D
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,
SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6
X-Rspamd-Server: rspamout02
X-Stat-Signature: qmtdexh559jknmr6cy3aedxieb4d75i9
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX18KW3Bhifdl+VsXxtj41qeb9dBrINpN8G0=
X-HE-Tag: 1704230897-62326
X-HE-Meta: U2FsdGVkX18p9nU0NGlnOiBqlb2SE01Nl3tqgnvc9u7HNm/qX41b52b9J5g48PLfbG902SCyGvtyQo6XW4kd7quPL2TmVw0IhWzoEF51+iE8QuPH3VcOm6aKQybB+GC6vI6v9eEODZlt341ysV2NKMXp+6FFEbix5prBcnitNW5FuE1tXrLzBIoUMPJ/+KQ0GlRQFDiATUZRz5Pt/IdrqtYOo8EPUs7AHi3D9obnJ2XFiwedwV2ymGKS0vyqFgUhleR0RjOmtPIGbi1lZjABnzA5k8Zuz8e+/2Sd33zelsyIu1AOwpXjJUrToH+5Ky3mYKxeE6sKHBie/V3MhxiIlxswAVMUkd+nHPHvzms/fTH1iZCE5+CWDiYta1sg7ZQj
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: newlib AT sourceware DOT org
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>, cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 402LSmQ8002764

On 2024-01-02 13:29, matthew patton via Cygwin wrote:
>> The cause is apparently that Cygwin's strverscmp implementation wasborrowed from musl libc
> would it make sense to use git submodules when "borrowing" code so the
> upstream reference is not lost, and keeping it abreast is relatively trivial
> exercise?
Issue is in newlib (x-post and followups set):
https://sourceware.org/cgit/newlib-cygwin/tree/newlib/libc/string/strverscmp.c

Docs for man pages are embedded in newlib (but not Cygwin unfortunately) 
sources, but it would be nice if folks added a subsection or reference with 
{Free,Open,Net}BSD/musl/etc. links, so we could see where and when the code was 
copied, although some sources include BSD revision headers and copyrights, other 
sources have no identifying header.

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

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019