Re: [EXTERNAL] Re: [PATCH] Cygwin: mkimport: implement AArch64 +/-4GB relocations

2025-07-22 Thread Brian Inglis
#x27;s the case, in case something later wants to use this function for some other import case. Perhaps an implementation glitch, erratum, exception level or execution state issue in some early ARMv8 AArch64 SoC target loader? -- Take care. Thanks, Brian Inglis

Re: [PATCH] Cygwin: malloc_wrapper: port to AArch64

2025-07-21 Thread Brian Inglis
her fuzzy. Therefore we only can enforce contributions to Cygwin code and docs. Document what licence statements (or give source prefix example files) need to be at the top of new files added under each tree? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La pe

Re: [PATCH] Cygwin: malloc_wrapper: port to AArch64

2025-07-14 Thread Brian Inglis
adrp/add (or adrp/ldr) were used, never saw adr. adr has a +/- 1MB range from PC, while adrp/add has a +/- 4GB range. Details: https://devblogs.microsoft.com/oldnewthing/20220809-00/?p=106955 -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est att

Re: [EXTERNAL] Re: [PATCH] Cygwin: malloc_wrapper: port to AArch64

2025-07-14 Thread Brian Inglis
ecially to Evgeny. Sigh. Actually I shouldn't have done that. While Evgeny is the patch author, the *attached* patch has you, Radek, in the Signed-off-by, and that's what I now pushed. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte

Re: [PATCH 2/5] cygwin: faq-programming-6.21 ready-made download commands

2025-07-13 Thread Brian Inglis
ake, mingw64-x86_64-gcc-g++, mingw64-x86_64-zlib, patch, perl, python39-lxml, python39-ply, texlive-collection-fontsrecommended, texlive-collection-latexrecommended, texlive-collection-pictures, xmlto, zlib-devel or awk setup.ini equivalent. -- Take care. Thanks, Brian Inglis Cal

Re: [PATCH v2] Cygwin: winsup/cygwin/include/asm/socket.h: add SO_REUSEPORT

2025-06-23 Thread Brian Inglis
On 2025-06-23 02:42, Corinna Vinschen wrote: Hi Brian, On Jun 21 11:02, Brian Inglis wrote: SO_REUSEPORT is defined in BSDs, Solaris, and Linux (since 3.9). It is not available in Windows but S.O. articles suggest S.O.? -v, please? Hi Corinna, Stack Overflow (added dots to distinguish

[PATCH] Cygwin: winsup/cygwin/include/asm/socket.h: add SO_REUSEPORT

2025-06-21 Thread Brian Inglis
SO_REUSEPORT is defined in BSDs, Solaris, and Linux (since 3.9). It is not available in Windows but S.O. articles suggest SO_REUSEADDR|SO_BROADCAST works similarly on Windows, so define as such. Required to build nghttp2 1.66. Signed-off-by: Brian Inglis --- winsup/cygwin/include/asm/socket.h

Re: [PATCH] Cygwin: Aarch64: Add inline assembly pthread wrapper

2025-06-18 Thread Brian Inglis
p?view=msvc-170 links to articles about all the conventions. + : "x0", "x1", "x2", "x10", "x19", "x29", "memory"); #else #error unimplemented for this target #endif -- 2.34.1 -- Take care. Thanks, Brian Inglis

Re: [PATCH] Cygwin: implement spinlock pause for AArch64

2025-06-12 Thread Brian Inglis
On 2025-06-12 14:47, Jeremy Drake via Cygwin-patches wrote: On Thu, 12 Jun 2025, Brian Inglis wrote: Rust apparently uses yield on arm32, and isb (instruction sync barrier) on aarch64, as yield is effectively a NOP (although it could be implemented to free up pipeline slots, SMT switch, or

Re: [PATCH] Cygwin: implement spinlock pause for AArch64

2025-06-12 Thread Brian Inglis
+1968,11 @@ pthread_spinlock::lock () else if (spins < FAST_SPINS_LIMIT) { ++spins; +#if defined(__x86_64__) __asm__ volatile ("pause":::); +#elif defined(__aarch64__) + __asm__ volatile ("yield":::); +#endif }

Re: [PATCH] Fix compatibility with MinGW v13 headers

2025-06-11 Thread Brian Inglis
On 2025-06-09 17:10, Jon Turney wrote: On 09/06/2025 23:20, Brian Inglis wrote: On 2025-06-09 15:56, Jeremy Drake via Cygwin-patches wrote: On Mon, 9 Jun 2025, Brian Inglis wrote: On 2025-06-09 12:54, Jeremy Drake via Cygwin-patches wrote: On Mon, 9 Jun 2025, Radek Barton via Cygwin-patches

Re: Updated: w32api-{headers,runtime} mingw64-{headers,runtime,winpthreads} gendef 13.0.0-1

2025-06-09 Thread Brian Inglis
On 2025-06-09 15:45, Brian Inglis via Cygwin-apps wrote: On 2025-06-08 06:04, Jonathan Yong via Cygwin-announce wrote: Now released for both 32bit and 64bit Cygwin: Notable changes: * Added import libraries for msvcr40d.dll, msvcrtd.dll, msvcr70d.dll, msvcr71d.dll, msvcr80d.dll, msvcr100d.dll

Re: [PATCH] Fix compatibility with MinGW v13 headers

2025-06-09 Thread Brian Inglis
On 2025-06-09 15:56, Jeremy Drake via Cygwin-patches wrote: On Mon, 9 Jun 2025, Brian Inglis wrote: On 2025-06-09 12:54, Jeremy Drake via Cygwin-patches wrote: On Mon, 9 Jun 2025, Radek Barton via Cygwin-patches wrote: Since today, https://github.com/cygwin/cygwin/actions/runs/15537033468

Re: Updated: w32api-{headers,runtime} mingw64-{headers,runtime,winpthreads} gendef 13.0.0-1

2025-06-09 Thread Brian Inglis
://github.com/cygwin/cygwin/actions/runs/15537033468%C2%A0workflow%C2%A0started https://github.com/cygwin/cygwin/actions/runs/15537033468/job/43738461428 Was this upgrade tested with a current Cygwin build before deployment? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La

Re: [PATCH] Fix compatibility with MinGW v13 headers

2025-06-09 Thread Brian Inglis
aking compatibility with and any impacts on Cygwin network apps into account. This should perhaps be referred back to the w32api-headers maintainer to see if he did any testing before deployment? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est att

Re: Website Suggestions

2025-06-06 Thread Brian Inglis
On 2025-06-06 14:50, John Haugabook wrote: On Fri, Jun 6, 2025 at 1:06 PM Brian Inglis wrote: On 2025-06-05 19:50, John Haugabook wrote: I made a few small edits to the website, and included the patch as an attachment. Below are the changes: - Changed links to template elements to

Re: Website Suggestions

2025-06-06 Thread Brian Inglis
o the cygwin-htdocs tree, unless it may just be the presence of a parallel repo during the build, and/or scripts run from one or the other, or the infrastructure. It would be useful if we could be pointed to docs on how to reproduce the web site locally. -- Take care. Thanks, Brian Inglis

Re: [PATCH] Cygwin: clock_settime: fail with EINVAL if tv_nsec is negative

2025-05-01 Thread Brian Inglis
) etc. This works on Cygwin and Debian: The TZ, C, and POSIX time.h docs with time_t/struct tm interfaces support a wide range of years defined in TZ to be +/-2^59s > Big Bang ~13.82Gyr. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La

Re: [PATCH] Cygwin: kill(1): skip kill(2) call if '-f -s -' is used

2025-04-29 Thread Brian Inglis
On 2025-04-27 14:43, Christian Franke wrote: Brian Inglis wrote: On 2025-04-27 12:22, Jon Turney wrote: On 15/04/2025 10:02, Christian Franke wrote: Hi Takashi, Takashi Yano wrote: Hi Christian, On Fri, 11 Apr 2025 16:46:07 +0200 Christian Franke wrote: In rare cases, '/bin/kill -

Re: [PATCH] Cygwin: kill(1): skip kill(2) call if '-f -s -' is used

2025-04-27 Thread Brian Inglis
atch, this could be prevented with '/bin/kill -f -s - PID'. As it currently stands, the -f flag to kill seems a bit misdesigned, i.e. if the signal isn't SIGKILL, -f shouldn't be accepted? Docs say -f uses Win32 interface so SIG... is irrelevant? -- Take care. Thanks, Bri

Re: compiles fail with sys/unistd.h ...inline... setproctitle_init

2025-04-11 Thread brian . inglis
On 2025-04-11 05:13, Takashi Yano wrote: On Thu, 10 Apr 2025 15:38:59 -0600 Brian Inglis wrote: Hi folks, Latest c-ares build failing with gcc 12.4 and Cygwin 3.6.0 header: $ uname -srvmo CYGWIN_NT-10.0-19045 3.6.0-1.x86_64 2025-03-18 17:01 UTC x86_64 Cygwin $ gcc --version gcc (GCC) 12.4.0

compiles fail with sys/unistd.h ...inline... setproctitle_init

2025-04-10 Thread Brian Inglis
ike it does not like `inline` anywhere in that line, although `__inline__` works just fine! Perhaps a patch is warranted, possibly conditional on GCC <= 12? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is ach

[PATCH v8 4/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move or remove dropped entries

2025-02-22 Thread Brian Inglis
Move entries no longer in POSIX from the SUS/POSIX section to Deprecated Interfaces section and mark with (SUSv4). Remove entries no longer in POSIX from the NOT Implemented section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 70 1 file

[PATCH v8 2/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-02-22 Thread Brian Inglis
Add POSIX new additions available as header macros and inline functions, or exported by Cygwin distro DLL or library packages Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 65 1 file changed, 65 insertions(+) diff --git a/winsup/doc

[PATCH v8 5/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 combine multiple notes

2025-02-22 Thread Brian Inglis
Combine multiple notes after an entry separated by hyphen ") (" -> " - " Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 27c6593b2c44..25

[PATCH v8 3/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new additions

2025-02-22 Thread Brian Inglis
Add unavailable POSIX additions to Not Implemented section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 31dbefd1fc48..20d73120f5d6 100644 --- a

[PATCH v8 1/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new POSIX

2025-02-22 Thread Brian Inglis
Update anchor id and description to current version, year, issue, etc. Move new POSIX entries in other sections to the SUS/POSIX section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 136 ++- 1 file changed, 70 insertions(+), 66 deletions

[PATCH v8 0/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 updates

2025-02-22 Thread Brian Inglis
Missed title update squeezed into last patch. Brian Inglis (5): Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new POSIX Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new

Re: [PATCH] Cygwin: Add spawn family of functions to docs

2025-02-17 Thread Brian Inglis
for Brian in terms of the POSIX doc update. That's why I wait with the eaccess and acl functions as well. I'll resubmit some time this week. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved

Re: [PATCH v2 1/2] Cygwin: make list of mounts for a volume in dos_drive_mappings

2025-02-12 Thread Brian Inglis
mit message. It should explain what you're doing and, especially, why. Sorting could be achieved by inserting entries into the list in any required order, or by similarly populating an auxiliary array of list entry pointers in any required order. -- Take care. Thanks, Brian Inglis

Re: [PATCH v2] update Cygwin-X news page X.Org and Cygwin release announcements to current stable releases

2025-02-01 Thread Brian Inglis
On 2025-02-01 08:52, Jon Turney wrote: On 31/01/2025 03:39, Brian Inglis wrote: might want to change the older messages to a more general Cygwin-X FAQ reference I don't really understand how this statement applies to the change suggested? It is intended for the reviewer as all the en

[PATCH v2] update Cygwin-X news page X.Org and Cygwin release announcements to current stable releases

2025-01-30 Thread Brian Inglis
might want to change the older messages to a more general Cygwin-X FAQ reference Signed-off-by: Brian Inglis --- xfree/cygx-news-new.html | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/xfree/cygx-news-new.html b/xfree/cygx-news-new.html index e326fa084c2c

Re: [PATCH v7 4/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move or remove dropped entries

2025-01-23 Thread Brian Inglis
On 2025-01-23 02:59, Corinna Vinschen wrote: On Jan 22 17:37, Jon Turney wrote: On 22/01/2025 11:23, Corinna Vinschen wrote: On Jan 17 10:01, Brian Inglis wrote: Move entries no longer in POSIX from the SUS/POSIX section to Deprecated Interfaces section and mark with (SUSv4). Remove entries

Re: [PATCH v7 3/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new additions

2025-01-22 Thread Brian Inglis
On 2025-01-22 04:08, Corinna Vinschen wrote: On Jan 22 12:04, Corinna Vinschen wrote: On Jan 17 10:01, Brian Inglis wrote: Add unavailable POSIX additions to Not Implemented section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 26 -- 1 file changed, 24

Re: [PATCH v7 1/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new

2025-01-22 Thread Brian Inglis
n the main branch, because your patch contains the changes from commit 0813644661e3, which I wrote I'll fix separately in https://sourceware.org/pipermail/cygwin-patches/2025q1/013265.html Thanks, Corinna On Jan 17 10:01, Brian Inglis wrote: Update anchor id and description to current versi

[PATCH v7 0/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 updates

2025-01-17 Thread Brian Inglis
Please note some changes are displaced due to rebase conflicts. Brian Inglis (5): Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not

[PATCH v7 4/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move or remove dropped entries

2025-01-17 Thread Brian Inglis
Move entries no longer in POSIX from the SUS/POSIX section to Deprecated Interfaces section and mark with (SUSv4). Remove entries no longer in POSIX from the NOT Implemented section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 55 ++-- 1 file

[PATCH v7 1/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new

2025-01-17 Thread Brian Inglis
Update anchor id and description to current version, year, issue, etc. Move new POSIX entries in other sections to the SUS/POSIX section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 145 ++- 1 file changed, 75 insertions(+), 70 deletions

[PATCH v7 5/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 combine multiple notes

2025-01-17 Thread Brian Inglis
Combine multiple notes after an entry separated by hyphen ") (" -> " - " Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index b0ef2bc37698..ca

[PATCH v7 2/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-01-17 Thread Brian Inglis
Add POSIX new additions available as header macros and inline functions, or exported by Cygwin distro DLL or library packages Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 57 1 file changed, 57 insertions(+) diff --git a/winsup/doc

[PATCH v7 3/5] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new additions

2025-01-17 Thread Brian Inglis
Add unavailable POSIX additions to Not Implemented section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index ac05657d2246..7e66cb8fc1c0 100644

Re: [PATCH v6 3/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new additions

2025-01-16 Thread brian . inglis
On 2025-01-16 11:41, Corinna Vinschen wrote: On Jan 15 12:39, Brian Inglis wrote: Add unavailable POSIX additions to Not Implemented section, with mentions of headers and packages where they are expected. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 20 ++-- 1

Re: [PATCH v6 2/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-01-16 Thread Brian Inglis
On 2025-01-16 11:40, Corinna Vinschen wrote: On Jan 15 12:39, Brian Inglis wrote: diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 949333b0c36c..0b23a2251028 100644 --- a/winsup/doc/posix.xml +++ b/winsup/doc/posix.xml @@ -16,6 +16,9 @@ ISO/IEC DIS 9945 Information technology

Re: [PATCH v6 4/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move or remove dropped entries

2025-01-15 Thread Brian Inglis
On 2025-01-15 16:53, Jeremy Drake wrote: On Wed, 15 Jan 2025, Brian Inglis wrote: +<<<<<<< HEAD isastream +=== +kill_dependency(not available in "stdatomic.h" header) +>>>>>>> 5888275d7f48 (Cygwin: winsup/doc/

Re: [PATCH v5 2/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-01-15 Thread Brian Inglis
On 2025-01-15 05:18, Corinna Vinschen wrote: On Jan 13 11:57, Brian Inglis wrote: On 2025-01-13 05:38, Corinna Vinschen wrote: On Jan 12 12:56, Brian Inglis wrote: Suggestions for better phrasings of these welcome. "Add POSIX new additions available as symbols exported from the C

[PATCH v6 2/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-01-15 Thread Brian Inglis
Add POSIX new additions available as header macros and inline functions, or exported by Cygwin distro DLL or library packages Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 61 1 file changed, 61 insertions(+) diff --git a/winsup/doc

[PATCH v6 8/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 abbrev variants of base function

2025-01-15 Thread Brian Inglis
Abbreviate function variants on same line dropping base name. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 84 ++-- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index a9f293d0f19e

[PATCH v6 7/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 merge function variants on one line

2025-01-15 Thread Brian Inglis
Move related functions to put base entries and variants on the same line. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 1209 -- 1 file changed, 345 insertions(+), 864 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index

[PATCH v6 4/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move or remove dropped entries

2025-01-15 Thread Brian Inglis
Move entries no longer in POSIX from the SUS/POSIX section to Deprecated Interfaces section and mark with (SUSv4). Remove entries no longer in POSIX from the NOT Implemented section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 64 +--- 1 file

[PATCH v6 5/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 combine multiple notes

2025-01-15 Thread Brian Inglis
Combine multiple notes after an entry separated by hyphen ") (" -> " - " Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index ac05f6972ee7..0c

[PATCH v6 3/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new additions

2025-01-15 Thread Brian Inglis
Add unavailable POSIX additions to Not Implemented section, with mentions of headers and packages where they are expected. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup

[PATCH v6 6/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 group variants with base

2025-01-15 Thread Brian Inglis
Move circular Ff/Fl and similar functions before hyperbolic Fh? and similar entries to keep base entries together with their -f -l variants. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 40 1 file changed, 20 insertions(+), 20 deletions

[PATCH v6 0/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 updates

2025-01-15 Thread Brian Inglis
Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 updates Brian Inglis (8): Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available Cygwin: winsup/doc/posix.xml: SUS V5 POSIX

[PATCH v6 1/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move new entries

2025-01-15 Thread Brian Inglis
Update anchor id and description to current version, year, issue, etc. Move new POSIX entries in other sections to the SUS/POSIX section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 139 ++- 1 file changed, 72 insertions(+), 67 deletions

Re: [PATCH v5 7/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 merge function variants on one line

2025-01-14 Thread Brian Inglis
On 2025-01-13 12:07, brian.ing...@systematicsw.ab.ca wrote: On 2025-01-13 06:38, Corinna Vinschen wrote: On Jan 10 17:01, Brian Inglis wrote: Move circular F/Ff/Fl and similar functions to put base entries and -f -l variants on the same line. Signed-off-by: Brian Inglis ---   winsup/doc

Re: [PATCH v5 3/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new additions

2025-01-14 Thread Brian Inglis
On 2025-01-13 11:01, Brian Inglis wrote: On 2025-01-13 05:58, Corinna Vinschen wrote: On Jan 10 17:01, Brian Inglis wrote: Add unavailable POSIX additions to Not Implemented section, with mentions of headers and packages where they are expected. Signed-off-by: Brian Inglis ---   winsup/doc

Re: [PATCH v5 2/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-01-13 Thread Brian Inglis
On 2025-01-13 10:21, Jon Turney wrote: On 12/01/2025 19:56, Brian Inglis wrote: On 2025-01-12 10:58, Jon Turney wrote: On 11/01/2025 00:01, Brian Inglis wrote: Add POSIX new additions available with din entries or interfaces in headers and packages. What does 'din' mean in th

Re: [PATCH v5 8/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 abbrev variants of base function

2025-01-13 Thread Brian Inglis
On 2025-01-13 06:39, Corinna Vinschen wrote: On Jan 10 17:01, Brian Inglis wrote: Abbreviate circular F/Ff/Fl and similar function variants to /f/l dropping base name. No, please no. Abbreviating in this manner breaks searches too easily. No problem - shorter representation - just ignore

Re: [PATCH v5 7/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 merge function variants on one line

2025-01-13 Thread brian . inglis
On 2025-01-13 06:38, Corinna Vinschen wrote: On Jan 10 17:01, Brian Inglis wrote: Move circular F/Ff/Fl and similar functions to put base entries and -f -l variants on the same line. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 336 +++ 1

Re: [PATCH v5 2/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-01-13 Thread Brian Inglis
On 2025-01-13 05:38, Corinna Vinschen wrote: On Jan 12 12:56, Brian Inglis wrote: On 2025-01-12 10:58, Jon Turney wrote: On 11/01/2025 00:01, Brian Inglis wrote: Add POSIX new additions available with din entries or interfaces in headers and packages. What does 'din' mean in th

Re: [PATCH v5 3/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new additions

2025-01-13 Thread Brian Inglis
On 2025-01-13 05:58, Corinna Vinschen wrote: On Jan 10 17:01, Brian Inglis wrote: Add unavailable POSIX additions to Not Implemented section, with mentions of headers and packages where they are expected. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 24 ++-- 1

Re: [PATCH v5 1/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new

2025-01-13 Thread Brian Inglis
On 2025-01-13 04:16, Corinna Vinschen wrote: Hi Brian, On Jan 10 17:01, Brian Inglis wrote: Update anchor id and description to current version, year, issue, etc. Move new POSIX entries in other sections to the SUS/POSIX section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 140

Re: [PATCH v5 4/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move or remove dropped entries

2025-01-12 Thread Brian Inglis
On 2025-01-12 11:04, Jon Turney wrote: On 11/01/2025 00:01, Brian Inglis wrote: Move entries no longer in POSIX from the SUS/POSIX section to Deprecated Interfaces section and mark with (SUSv4). Remove entries no longer in POSIX from the NOT Implemented section. [...] -Other UNIX system

Re: [PATCH v5 2/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-01-12 Thread Brian Inglis
On 2025-01-12 10:58, Jon Turney wrote: On 11/01/2025 00:01, Brian Inglis wrote: Add POSIX new additions available with din entries or interfaces in headers and packages. What does 'din' mean in this context? POSIX entries which exist as exported symbols in cygwin.din but not

[PATCH v5 5/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 combine multiple notes

2025-01-10 Thread Brian Inglis
Combine multiple notes after an entry separated by hyphen ") (" -> " - " Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 9b74bcf5a79b..17

[PATCH v5 7/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 merge function variants on one line

2025-01-10 Thread Brian Inglis
Move circular F/Ff/Fl and similar functions to put base entries and -f -l variants on the same line. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 336 +++ 1 file changed, 84 insertions(+), 252 deletions(-) diff --git a/winsup/doc/posix.xml b

[PATCH v5 1/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new

2025-01-10 Thread Brian Inglis
Update anchor id and description to current version, year, issue, etc. Move new POSIX entries in other sections to the SUS/POSIX section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 140 ++- 1 file changed, 73 insertions(+), 67 deletions

[PATCH v5 6/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 group variants with base

2025-01-10 Thread Brian Inglis
Move circular Ff/Fl and similar functions before hyperbolic Fh? and similar entries to keep base entries together with their -f -l variants. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 40 1 file changed, 20 insertions(+), 20 deletions

[PATCH v5 3/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 not implemented new additions

2025-01-10 Thread Brian Inglis
Add unavailable POSIX additions to Not Implemented section, with mentions of headers and packages where they are expected. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/winsup/doc/posix.xml b

[PATCH v5 8/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 abbrev variants of base function

2025-01-10 Thread Brian Inglis
Abbreviate circular F/Ff/Fl and similar function variants to /f/l dropping base name. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 166 +-- 1 file changed, 83 insertions(+), 83 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc

[PATCH v5 4/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move or remove dropped entries

2025-01-10 Thread Brian Inglis
Move entries no longer in POSIX from the SUS/POSIX section to Deprecated Interfaces section and mark with (SUSv4). Remove entries no longer in POSIX from the NOT Implemented section. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 61 1 file

[PATCH v5 0/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 updates

2025-01-10 Thread Brian Inglis
Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 updates Brian Inglis (8): Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 TOG Issue 8 ISO 9945 move new Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available Cygwin: winsup/doc/posix.xml: SUS V5 POSIX

[PATCH v5 2/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 new additions available

2025-01-10 Thread Brian Inglis
Add POSIX new additions available with din entries or interfaces in headers and packages. Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 57 1 file changed, 57 insertions(+) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index

[PATCH v4] Cygwin: winsup/doc/posix.xml: update to SUS V5, POSIX 2024, TOG Base Specs Issue 8, ISO/IEC DIS 9945

2025-01-07 Thread Brian Inglis
parenthesized notes into one separated by "-".) Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 326 ++- 1 file changed, 201 insertions(+), 125 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 2782beb86547..78ec9403d

[PATCH v3] Cygwin: winsup/doc/posix.xml: update to SUS V5, POSIX 2024, TOG Base Specs Issue 8, ISO/IEC DIS 9945

2025-01-07 Thread Brian Inglis
ned-off-by: Brian Inglis --- winsup/doc/posix.xml | 326 ++- 1 file changed, 201 insertions(+), 125 deletions(-) diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 2782beb86547..14bfe8aa7684 100644 --- a/winsup/doc/posix.xml +++ b/winsup/doc

[PATCH v2] Cygwin: winsup/doc/posix.xml: update to SUS V5, POSIX 2024, TOG Base Specs Issue 8, ISO/IEC DIS 9945

2025-01-06 Thread Brian Inglis
they exist, concatenate onto the same lines with slashes, or just add the suffixes /f/l on to the base entry, and do the same with other math functions? Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 287 +++ 1 file changed, 178 insertions(+), 109

[PATCH] Cygwin: winsup/doc/posix.xml: update to SUS V5, POSIX 2024, TOG Base Specs Issue 8, ISO/IEC DIS 9945

2025-01-06 Thread Brian Inglis
they exist, concatenate onto the same lines with slashes, or just add the suffixes /f/l on to the base entry? Signed-off-by: Brian Inglis --- winsup/doc/posix.xml | 289 ++- 1 file changed, 178 insertions(+), 111 deletions(-) diff --git a/winsup/doc

[RFC] POSIX Issue 8 2024 SUS V5 Cygwin Doc Changes

2025-01-05 Thread Brian Inglis
got wrong or missed, how should we proceed, anything else? Feel free to add your 2¢, 2¥, ₤.02, €.02: all comments welcome? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a

Re: [PATCH] Cygwin: sched_setscheduler: accept SCHED_OTHER, SCHED_FIFO and SCHED_RR

2024-12-03 Thread Brian Inglis
On 2024-12-03 06:13, Corinna Vinschen wrote: On Dec 3 10:20, Christian Franke wrote: Brian Inglis wrote: On 2024-12-02 11:28, ASSI wrote: Christian Franke writes: +    nice value   sched_priority Windows priority class + 12...19  16  IDLE_PRIORITY_CLASS +  4...11

Re: [PATCH] Cygwin: sched_setscheduler: accept SCHED_OTHER, SCHED_FIFO and SCHED_RR

2024-12-02 Thread Brian Inglis
? -- 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

Re: [PATCH] Cygwin: sched_setscheduler: accept SCHED_OTHER, SCHED_FIFO and SCHED_RR

2024-12-02 Thread Brian Inglis
t would be good to state in a release note what has changed in the mapping or effect e.g. SCHED_OTHER now uses only NICE and SCHED_FIFO/RR use only PRIORITY? I will have to search my Cygwin docs and code to see where things are mentioned or used. -- Take care. Thanks, Brian Inglis C

Re: [PATCH] Cygwin: console: Fix clean up conditions in close()

2024-11-08 Thread Brian Inglis
: 3) - && (dev_t) myself->ctty == get_device ()) + && obi.HandleCount == (con.owner == GetCurrentProcessId () ? 2 : 3)) { /* Cleaning-up console mode for cygwin apps. */ set_output_mode (tty::restore, &get_ttyp ()->ti, &handle_set); -- Take care. Tha

Re: [PATCH] Cygwin: Minor updates to load average calculations

2024-10-10 Thread Brian Inglis
On 2024-10-10 00:12, Mark Geisert wrote: Hi Brian, On 10/9/2024 9:36 AM, Brian Inglis wrote: Clarity suggestions and questions that could perhaps benefit from more comment: On 2024-10-08 23:19, Mark Geisert wrote: [...]     The number of running processes is estimated as

Re: [PATCH] Cygwin: Minor updates to load average calculations

2024-10-09 Thread Brian Inglis
sibly set <1ms by some games? Effects on other processes may vary by version. -- 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

Re: [PATCH 5/6] Cygwin: Fix warnings about narrowing conversions of socket ioctls

2024-08-11 Thread Brian Inglis
On 2024-08-11 12:31, Brian Inglis wrote: On 2024-08-07 08:06, Corinna Vinschen wrote: On Aug  6 19:58, Jon Turney wrote: On 05/08/2024 11:22, Corinna Vinschen wrote: On Aug  4 22:48, Jon Turney wrote: Fix gcc 12 warnings about narrowing conversions of socket ioctl constants when used as case

Re: [PATCH 5/6] Cygwin: Fix warnings about narrowing conversions of socket ioctls

2024-08-11 Thread Brian Inglis
__MISC_VISIBLE char * itoa (int, char *, int); char * utoa (unsigned, char *, int); # endif #endif so should this be __INSIDE_CYGWIN__ instead or something else? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection

[PATCH 1/3] Cygwin: fhandler/proc.cc(format_proc_cpuinfo): Linux 6.10 flags added

2024-07-18 Thread Brian Inglis
0x800a EDX 18 x2avic virtual x2apic 0x8022 EAX 2 amd_lbr_pmc_freeze AMD last br rec and perf mon ctrs freeze Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 8 1 file changed, 8 insertions(+) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup

[PATCH 2/3] Cygwin: fhandler/proc.cc(format_proc_cpuinfo): add newlines

2024-07-18 Thread Brian Inglis
-July/256223.html Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index d8ab522a8235..e85ed4ff06ed 100644 --- a/winsup/cygwin/fhandler/proc.cc +++ b

[PATCH 0/3] Cygwin: fhandler/proc.cc(format_proc_cpuinfo): Linux 6.10 changes

2024-07-18 Thread Brian Inglis
n comments, instead of requiring a null quoted string "" at the start of comments to suppress flag name output. As a result, some flags (not all for output) were renamed and others moved. Brian Inglis (3): Cygwin: fhandler/proc.cc(format_proc_cpuinfo): Linux 6.10 flags added Cygw

[PATCH 3/3] Cygwin: fhandler/proc.cc(format_proc_cpuinfo): Linux 6.10 flags resync

2024-07-18 Thread Brian Inglis
- change dts to ds; move intel_ppin down; swap ibpd and ibrs; - change some flag names and descriptions that are not output. Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 35 +- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/win

Re: /proc//{cwd, root} links to for cygrunsrv, daemons, and shells

2024-04-09 Thread Brian Inglis
On 2024-04-09 07:08, Corinna Vinschen wrote: On Apr 7 13:34, Brian Inglis wrote: ISTM anomalous that for cygrunsrv, daemons, cron processes, and shells /proc//{cwd,root} have bad symlinks to "", normally a process or exe status: /proc/732/exe -> /usr/bin/cygrunsrv /proc/732/ro

/proc//{cwd, root} links to for cygrunsrv, daemons, and shells

2024-04-07 Thread Brian Inglis
-> /proc/2082/cwd -> Should we consider changing that to root "/", or nothing, null, or something meaningful? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'

Re: [PATCH] winsup/cygwin/fhandler/proc.cc: format_proc_cpuinfo() Linux 6.8 cpuinfo flags

2024-03-18 Thread Brian Inglis
On 2024-03-18 09:45, Corinna Vinschen wrote: On Mar 18 08:10, Brian Inglis wrote: On 2024-03-18 03:33, Corinna Vinschen wrote: On Mar 16 10:44, Brian Inglis wrote: add Linux 6.8 cpuinfo flags: Intel 0x0007:1 eax:17 fred Flexible Return and Event Delivery; AMD 0x801f eax:4

Re: [PATCH] winsup/cygwin/fhandler/proc.cc: format_proc_cpuinfo() Linux 6.8 cpuinfo flags

2024-03-18 Thread Brian Inglis
On 2024-03-18 03:33, Corinna Vinschen wrote: Hi Brian, On Mar 16 10:44, Brian Inglis wrote: add Linux 6.8 cpuinfo flags: Intel 0x0007:1 eax:17 fred Flexible Return and Event Delivery; AMD 0x801f eax:4 sev_snp SEV secure nested paging; document unused and some

[PATCH] winsup/cygwin/fhandler/proc.cc: format_proc_cpuinfo() Linux 6.8 cpuinfo flags

2024-03-16 Thread Brian Inglis
add Linux 6.8 cpuinfo flags: Intel 0x0007:1 eax:17 fred Flexible Return and Event Delivery; AMD 0x801f eax:4 sev_snp SEV secure nested paging; document unused and some unprinted bits that could look like omissions; fix typos and misalignments; Signed-off-by: Brian

Re: newlib-cygwin build fails on dumper

2024-03-15 Thread Brian Inglis
On 2024-03-15 03:10, Corinna Vinschen wrote: On Mar 14 10:10, Brian Inglis wrote: During newlib-cygwin build to test patches, with latest current stable packages as of last weekend, and yesterday's repo main/master, get a warning, then errors building dumper: I'm pretty sure this

newlib-cygwin build fails on dumper

2024-03-14 Thread Brian Inglis
1.3.1-1OK Any ideas what might be going wrong here or what I may be missing? -- 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 th

Re: [PATCH] fix(libc): Fix handle of %E & %O modifiers at end of format string

2023-11-13 Thread Brian Inglis
another POSIX alternate libc issue - hosted under a Win64 environment. -- 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

Re: [PATCH] fix(libc): Fix handle of %E & %O modifiers at end of format string

2023-11-10 Thread Brian Inglis
On 2023-11-10 10:44, Pedro Luis Castedo Cepeda wrote: El 10/11/2023 a las 11:16, Corinna Vinschen escribió: On Nov  9 23:17, Brian Inglis wrote: On 2023-11-09 12:04, Pedro Luis Castedo Cepeda wrote: - Prevent strftime to parsing format string beyond its end when     it finish with "%E&qu

Re: [PATCH] fix(libc): Fix handle of %E & %O modifiers at end of format string

2023-11-09 Thread Brian Inglis
for the format *character* (possibly wide) not matching following any modifiers. Patches to newlib should go to the newlib mailing list at sourceware dot org. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achiev

  1   2   3   4   >