[PATCH] Cygwin: pty: Add missing guard for close_pseudoconsole().

2021-04-20 Thread Takashi Yano
- This patch adds a missing mutex guard for close_pseudoconsole() call when GDB exits. --- winsup/cygwin/fhandler_tty.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 530321513..9c03e09a7 100644 ---

[PATCH] Cygwin: pty: Fix fallback processing in setup_pseudoconsole().

2021-04-20 Thread Takashi Yano
- Currently, the fallback processing in setup_pseudoconsole() when helper process error occurs does not work properly. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/fhandler_tty.cc

[PATCH] Cygwin: pty: Additional race issue fix regarding pseudo console.

2021-04-20 Thread Takashi Yano
- In commit bb93c6d7, the race issue was not completely fixed. In the pseudo console inheritance, if the destination process to which the ownership of pseudo console switches, is found but exits before switching, the inheritance fails. Currently, this extremely rarely happens. This patch

Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46

2021-04-20 Thread Takashi Yano via Cygwin
Hi Corinna, I noticed the problem that /cygdrive/c/Windows/System32 directory can be no longer accessed from 32 bit cygwin (WOW64) after the commit: commit 456c3a46386f38887407603b2c64b7f63a4871c5 Author: Corinna Vinschen Date: Mon Apr 19 14:49:14 2021 +0200 Cygwin: path_conv: Try to

[ANNOUNCEMENT] Update: brotli 1.0.9-2

2021-04-20 Thread Lemures Lemniscati via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * brotli-1.0.9-2 * libbrotli-devel-1.0.9-2 * libbrotlicommon1-1.0.9-2 * libbrotlidec1-1.0.9-2 * libbrotlienc1-1.0.9-2 * python36-brotli-1.0.9-2 * python37-brotli-1.0.9-2 * python38-brotli-1.0.9-2 * brotli-1.0.9-2-src *

Update: brotli 1.0.9-2

2021-04-20 Thread Lemures Lemniscati via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * brotli-1.0.9-2 * libbrotli-devel-1.0.9-2 * libbrotlicommon1-1.0.9-2 * libbrotlidec1-1.0.9-2 * libbrotlienc1-1.0.9-2 * python36-brotli-1.0.9-2 * python37-brotli-1.0.9-2 * python38-brotli-1.0.9-2 * brotli-1.0.9-2-src *

Re: [PATCH setup] Handle '--packages package=version'

2021-04-20 Thread Jon Turney
On 20/04/2021 15:35, David Allsopp via Cygwin-apps wrote: Jon Turney wrote: Handle '--packages package=version' to allow specifing the version of a package to install on the command line. isManuallyWanted() now returns the target packageversion (if specified), or an empty packageversion

Re: [PATCH] Use automake (v5)

2021-04-20 Thread Jon Turney
On 20/04/2021 21:13, Jon Turney wrote: For ease of reviewing, this patch doesn't contain changes to generated files which would be made by running ./autogen.sh. Sorry about getting distracted from this. To summarize what I believe were the outstanding issues with v3 [1]: [1]

[PATCH] Use automake (v5)

2021-04-20 Thread Jon Turney
For ease of reviewing, this patch doesn't contain changes to generated files which would be made by running ./autogen.sh. v2: * Include tzmap.h in BUILT_SOURCES * Make per-file flags appear after user-supplied CXXFLAGS, so they can override optimization level. * Correct .o files used to define

Re: [PATCH setup] Handle '--packages package=version'

2021-04-20 Thread ASSI
Jon Turney writes: > Handle '--packages package=version' to allow specifing the version of a > package to install on the command line. In my internal setup.ini rewriter script I accept both actual versions as well as "curr" (no-op), "prev" and "test". Regards, Achim. -- +<[Q+ Matrix-12

[PATCH setup] Add --allow-test-versions

2021-04-20 Thread David Allsopp via Cygwin-apps
Attached adds -t/--allow-test-packages to Setup which controls the initial state of the "Test" checkbox. Motivation is to allow one CI cron job to be installing test versions of packages, then we can help identify things like [1] before they're released. David [1]

RE: [PATCH setup] Handle '--packages package=version'

2021-04-20 Thread David Allsopp via Cygwin-apps
Jon Turney wrote: > Handle '--packages package=version' to allow specifing the version of a > package to install on the command line. > > isManuallyWanted() now returns the target packageversion (if specified), > or an empty packageversion (which is translated into an instruction to > the solver

RE: [PATCH 0/2] Fix race issues.

2021-04-20 Thread David Allsopp
Corinna Vinschen wrote: > On Apr 19 19:30, Takashi Yano wrote: > > Takashi Yano (2): > > Cygwin: console: Fix race issue regarding cons_master_thread(). > > Cygwin: pty: Fix race issue in inheritance of pseudo console. > > > > winsup/cygwin/fhandler_console.cc | 10 ++- > >

Re: [PATCH 1/1] cherry-pick fix for pkg-config

2021-04-20 Thread Lemures Lemniscati via Cygwin
On Mon, 19 Apr 2021 16:12:24 -0300, David McFarland > This PR removes a recently added -R/usr/lib from the linker flags, which is > incompatible with gcc: > Hi, David McFarland! Thank you for the report and the patch. I've updated brotli packages [1]. And, support for python 2.7 is dropped.

Re: [PATCH 0/1] libbrotli has broken pkg-config

2021-04-20 Thread Marco Atzeri via Cygwin
On 20.04.2021 06:57, Andrey Repin wrote: Greetings, David McFarland! I'm a little lost on the exact process for sending patches for packages, I think the cygwin-patches is an appropriate place for these. that is only for patches to the cygwin itself. For packages, here is fine -- Problem

Re: [PATCH 0/2] Fix race issues.

2021-04-20 Thread Corinna Vinschen
On Apr 19 19:30, Takashi Yano wrote: > Takashi Yano (2): > Cygwin: console: Fix race issue regarding cons_master_thread(). > Cygwin: pty: Fix race issue in inheritance of pseudo console. > > winsup/cygwin/fhandler_console.cc | 10 ++- > winsup/cygwin/fhandler_tty.cc | 108