[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

[newlib-cygwin] Cygwin: console: Revive Win7 compatibility.

2019-09-19 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1a44ad03e0f723e9479d090c43444bce2798a35d commit 1a44ad03e0f723e9479d090c43444bce2798a35d Author: Takashi Yano Date: Thu Sep 19 05:49:55 2019 +0900 Cygwin: console: Revive Win7 compatibility. - The commit

Re: win-mounts no longer displays anything when doing "cat /proc/partitions"

2019-09-19 Thread Andrey Repin
Greetings, Hashim Aziz! > I've been using Cygwin loyally for almost 5 years now, and throughout that > time have found the win-mounts column invaluable to find a drive or USB's > /dev/sdX mapping, by doing cat /proc/partitions. I haven't run that command > in a while, however, and today I

Re: win-mounts no longer displays anything when doing "cat /proc/partitions"

2019-09-19 Thread Brian Inglis
On 2019-09-19 13:51, Hashim Aziz wrote: > I've been using Cygwin loyally for almost 5 years now, and throughout that > time have found the win-mounts column invaluable to find a drive or USB's > /dev/sdX mapping, by doing cat /proc/partitions. > I haven't run that command in a while, however, and

Re: My C arrays are too large

2019-09-19 Thread Brian Inglis
On 2019-09-18 14:35, Jose Isaias Cabrera wrote: > Joel Rees, on Wednesday, September 18, 2019 02:38 PM, wrote... >> 2019年9月14日(土) 3:50 Jose Isaias Cabrera, on >>> Achim Gratz, on Friday, September 13, 2019 02:39 PM, wrote... Blair, Charles E III writes: > My apologies for failing to reply

win-mounts no longer displays anything when doing "cat /proc/partitions"

2019-09-19 Thread Hashim Aziz
I've been using Cygwin loyally for almost 5 years now, and throughout that time have found the win-mounts column invaluable to find a drive or USB's /dev/sdX mapping, by doing cat /proc/partitions. I haven't run that command in a while, however, and today I realised that this functionality no

Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-19 Thread Ken Brown
On 9/1/2019 1:38 PM, Houder wrote: > On Fri, 30 Aug 2019 11:54:27, Houder wrote: [...] > As the directory "/foo" had been correctly created, I turned to > path_conv::check(), which is called when build_fhname() creates > the path_conv object (also called pc) -- see dtable.cc. > > Examining

Re: My C arrays are too large

2019-09-19 Thread Jose Isaias Cabrera
> > > From: Joel Rees, on Wednesday, September 18, 2019 07:09 PM, wrote... > 2019年9月19日(木) 5:35 Jose Isaias Cabrera, on > > > Joel Rees, on Wednesday, September 18, 2019 02:38 PM, wrote... > > > > 2019年9月14日(土) 3:50 Jose Isaias Cabrera, on > > > > > > > > Achim Gratz, on

[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