Re: [PATCH] Cygwin: Implement CPU_SET(3) macros

2019-07-25 Thread Mark Geisert
Corinna Vinschen wrote: Hi Mark, On Jul 1 01:55, Mark Geisert wrote: Corinna Vinschen wrote: On Jun 30 15:59, Mark Geisert wrote: This patch supplies an implementation of the CPU_SET(3) processor affinity macros as documented on the relevant Linux man page. --- winsup/cygwin/include/sys/c

Re: [PATCH v2] Cygwin: Fix the address of myself

2019-07-25 Thread Ken Brown
On 7/25/2019 9:37 AM, Corinna Vinschen wrote: > On Jul 24 19:11, Ken Brown wrote: >> On 7/24/2019 12:54 PM, Corinna Vinschen wrote: >>> From: Corinna Vinschen >>> >>> v2: rephrase commit message >>> >>> Introducing an independent Cygwin PID introduced a regression: >>> >>> The expectation is that

Re: [PATCH] Cygwin: Implement CPU_SET(3) macros

2019-07-25 Thread Corinna Vinschen
Hi Mark, On Jul 1 01:55, Mark Geisert wrote: > Corinna Vinschen wrote: > > On Jun 30 15:59, Mark Geisert wrote: > > > This patch supplies an implementation of the CPU_SET(3) processor > > > affinity macros as documented on the relevant Linux man page. > > > --- > > > winsup/cygwin/include/sys/c

Re: [PATCH v2] Cygwin: Fix the address of myself

2019-07-25 Thread Corinna Vinschen
On Jul 24 19:11, Ken Brown wrote: > On 7/24/2019 12:54 PM, Corinna Vinschen wrote: > > From: Corinna Vinschen > > > > v2: rephrase commit message > > > > Introducing an independent Cygwin PID introduced a regression: > > > > The expectation is that the myself pinfo pointer always points to a >

Re: [PATCH] Cygwin: fhandler_termios::tcsetpgrp: check that argument is non-negative

2019-07-25 Thread Jon Turney
On 24/07/2019 16:34, Ken Brown wrote: Return -1 with EINVAL if pgid < 0. This fixes the gdb problem reported here: https://cygwin.com/ml/cygwin/2019-07/msg00166.html Thanks. --- winsup/cygwin/fhandler_termios.cc | 5 + 1 file changed, 5 insertions(+) diff --git a/winsup/cygwin/fh