Re: [PATCH] Cygwin: Conditionally build documentation

2022-01-14 Thread Brian Inglis
On 2022-01-14 13:18, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: Add a configure option '--disable-doc' to disable building of the documentation by the 'all' target. Can you please also add --disable-doc to "configure --help"? It took me awhile to figure out which option I should use to

Re: [PATCH 2/7] Use matching format for NTSTATUS

2022-01-14 Thread Brian Inglis
See fprintf(3p) POSIX: # Specifies that the value is to be converted to an alternative form. ... For x or X conversion specifiers, a non-zero result shall have 0x (or 0X) prefixed to it. On 2022-01-14 15:10, Anton Lavrentiev via Cygwin-patches wrote: ---

[PATCH 6/7] Message consistency

2022-01-14 Thread Anton Lavrentiev via Cygwin-patches
--- winsup/cygwin/libc/minires-os-if.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/winsup/cygwin/libc/minires-os-if.c b/winsup/cygwin/libc/minires-os-if.c index f71178b96..6b4c5e33e 100644 --- a/winsup/cygwin/libc/minires-os-if.c +++

[PATCH 7/7] Added processing of AAAA records

2022-01-14 Thread Anton Lavrentiev via Cygwin-patches
--- winsup/cygwin/libc/minires-os-if.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/winsup/cygwin/libc/minires-os-if.c b/winsup/cygwin/libc/minires-os-if.c index 6b4c5e33e..fd2e37a31 100644 --- a/winsup/cygwin/libc/minires-os-if.c +++

[PATCH 5/7] Format consitency for Windows errors

2022-01-14 Thread Anton Lavrentiev via Cygwin-patches
--- winsup/cygwin/libc/minires-os-if.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/libc/minires-os-if.c b/winsup/cygwin/libc/minires-os-if.c index 6e17de0b8..f71178b96 100644 --- a/winsup/cygwin/libc/minires-os-if.c +++

[PATCH 4/7] Process options forward (not backwards)

2022-01-14 Thread Anton Lavrentiev via Cygwin-patches
--- winsup/cygwin/libc/minires.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/libc/minires.c b/winsup/cygwin/libc/minires.c index 58c0438d3..2a77098b8 100644 --- a/winsup/cygwin/libc/minires.c +++ b/winsup/cygwin/libc/minires.c @@ -86,12 +86,12 @@

[PATCH 3/7] Debug output to show both IP and port # in native b.o., a few little cosmetic improvements for consistency

2022-01-14 Thread Anton Lavrentiev via Cygwin-patches
--- winsup/cygwin/libc/minires.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/winsup/cygwin/libc/minires.c b/winsup/cygwin/libc/minires.c index 0979daae3..58c0438d3 100644 --- a/winsup/cygwin/libc/minires.c +++ b/winsup/cygwin/libc/minires.c

[PATCH 2/7] Use matching format for NTSTATUS

2022-01-14 Thread Anton Lavrentiev via Cygwin-patches
--- winsup/cygwin/libc/minires-os-if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/libc/minires-os-if.c b/winsup/cygwin/libc/minires-os-if.c index 666a008de..6e17de0b8 100644 --- a/winsup/cygwin/libc/minires-os-if.c +++

[PATCH 1/7] Fix format specifier for wide-char string

2022-01-14 Thread Anton Lavrentiev via Cygwin-patches
--- winsup/cygwin/libc/minires-os-if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/libc/minires-os-if.c b/winsup/cygwin/libc/minires-os-if.c index 565158150..666a008de 100644 --- a/winsup/cygwin/libc/minires-os-if.c +++ b/winsup/cygwin/libc/minires-os-if.c

Cygwin: A few fixes for local resolver

2022-01-14 Thread Anton Lavrentiev via Cygwin-patches
I am sending this patch that has fallen through the cracks almost a year ago, because I switched to a different project and it was forgotten. I just discovered it now, and I also added the record processing as discussed back on Feb 1, 2021. - Use %S (instead of %s) when a wide-character

RE: [PATCH] Cygwin: Conditionally build documentation

2022-01-14 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin-patches
> > Add a configure option '--disable-doc' to disable building of the > documentation by the 'all' target. > Can you please also add --disable-doc to "configure --help"? It took me awhile to figure out which option I should use to skip the doc from building because it does no longer ignore

[PATCH] Cygwin: pty: Fix race issue between closing and opening master.

2022-01-14 Thread Takashi Yano
- If the from_master is closed before cleaning up other pipes, such as from_slave_nat, the same pty may be allocated and pty master may try to open the pipe which is not closed yet, and it will fail. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 14 ++ 1 file

Re: [PATCH 0/4] Some fixes for console and pty.

2022-01-14 Thread Corinna Vinschen
Hi Takashi, On Jan 13 21:28, Takashi Yano wrote: > Takashi Yano (4): > Cygwin: pty, console: Fix deadlock in GDB regarding mutex. > Cygwin: pty: Fix memory leak in master_fwd_thread. > Cygwin: pty: Stop closing and recreating attach_mutex. > Cygwin: console: Fix potential deadlock