Re: strverscmp is buggy in Cygwin 3.4.6

2024-01-02 Thread matthew patton via Cygwin
> 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? -- Problem reports: https://cygwin.c

strverscmp is buggy in Cygwin 3.4.6

2024-01-02 Thread Bruno Haible via Cygwin
Hi, Here's a test case of strverscmp, from Dmitry Bogatov [1] #include int main () { return strverscmp ("UNKNOWN", "2.2.0") <= 0; } It succeeds on glibc and musl libc 1.2.4, but fails on musl libc 1.2.3 and Cygwin 2.9.0 and 3.4.6. The cause is apparently that Cygwin's strverscmp implementati