[PATCH v2 1/1] Cygwin: Fix incorrect TTY for non-cygwin process.

2019-09-19 Thread Takashi Yano
- After commit d4045fdbef60d8e7e0d11dfe38b048ea2cb8708b, the TTY displayed by ps command is incorrect if the process is non-cygwin process. This patch fixes this issue. --- winsup/cygwin/exceptions.cc | 2 +- winsup/cygwin/spawn.cc | 5 + 2 files changed, 2 insertions(+), 5

[PATCH v2 0/1] Cygwin: Fix incorrect TTY for non-cygwin process.

2019-09-19 Thread Takashi Yano
- After commit d4045fdbef60d8e7e0d11dfe38b048ea2cb8708b, the TTY displayed by ps command is incorrect if the process is non-cygwin process. This patch fixes this issue. v2: Simplify the condition to call proc_subproc (PROC_CLEARWAIT, 1) in exceptions.cc. Takashi Yano (1): Cygwin: Fix

Re: [PATCH v2 1/1] Cygwin: console: Revive Win7 compatibility.

2019-09-19 Thread Ken Brown
On 9/18/2019 4:49 PM, Takashi Yano wrote: > - The commit fca4cda7a420d7b15ac217d008527e029d05758e broke Win7 >compatibility. This patch fixes the issue. > --- > winsup/cygwin/fhandler.h | 6 ++ > winsup/cygwin/fhandler_console.cc | 6 -- > winsup/cygwin/select.cc

[PATCH] Cygwin: Fix incorrect TTY for non-cygwin process.

2019-09-19 Thread Takashi Yano
- After commit d4045fdbef60d8e7e0d11dfe38b048ea2cb8708b, the TTY displayed by ps command is incorrect if the process is non-cygwin process. This patch fixes this issue. --- winsup/cygwin/exceptions.cc | 2 +- winsup/cygwin/spawn.cc | 5 + 2 files changed, 2 insertions(+), 5

Re: [PATCH v2 1/1] Cygwin: console: Revive Win7 compatibility.

2019-09-19 Thread Takashi Yano
On Wed, 18 Sep 2019 17:31:30 -0400 Yaakov Selkowitz wrote: > Would it make sense to define this using wincap so it is 2048 for > Win7/2K8 and 3276 for newer versions? Thanks for advice. Of cource it is possible, however, I don't think it is necessary. IMHO, the buffer size of 2048 is more than