Re: cat /proc/partitions shows only devices, not partitions

2020-03-08 Thread Andrey Repin
Greetings, Hashim Aziz! Please no top posting on the list. > An update to this, I resorted to nuking and then re-installing Cygwin from > scratch, and the problem STILL persists. This seems to suggest that > something is wrong with Windows itself that is responsible for Cygwin no > longer being

Re: Setup mirrors

2020-03-08 Thread Andrey Repin
Greetings, Ray Sabee! > As an enthusiastic user of your software for many years, we would like to do > something in return. > We are very fond of the open source model and we would like to contribute to > this great project. > We have a lot of servers and per request on your website, we would

Re: gcc and 128-bit compare/exchange

2020-03-08 Thread Eliot Moss
On 3/8/2020 10:29 PM, Eliot Moss wrote: This is probably to the gcc maintainer ... I am running on a processor that has compare/exchange 128-bit (cx16 capability), and I compiler with -mcx16 and -latomic.  I'm on the latest release cygwin gcc (9.2.0-3, I believe) and the corresponding

gcc and 128-bit compare/exchange

2020-03-08 Thread Eliot Moss
This is probably to the gcc maintainer ... I am running on a processor that has compare/exchange 128-bit (cx16 capability), and I compiler with -mcx16 and -latomic. I'm on the latest release cygwin gcc (9.2.0-3, I believe) and the corresponding libatomic. I have a program with this in it:

[PATCH v2] Cygwin: console: Fix behaviour of "ESC 8" after reset.

2020-03-08 Thread Takashi Yano
- This patch matches the behaviour of "ESC 8" (DECRC) to the real xterm after full reset (RIS), soft reset (DECSTR) and "CSI 3 J". --- winsup/cygwin/fhandler_console.cc | 7 +++ 1 file changed, 7 insertions(+) diff --git a/winsup/cygwin/fhandler_console.cc

Re: [PATCH] Cygwin: console: Fix behaviour of "ESC 8" after reset.

2020-03-08 Thread Takashi Yano
On Fri, 6 Mar 2020 10:55:28 +0900 Takashi Yano wrote: > - This patch matches the behaviour of "ESC 8" (DECRC) to the real > xterm after full reset (RIS), soft reset (DECSTR) and "CSI 3 J". > --- > winsup/cygwin/fhandler_console.cc | 7 +++ > 1 file changed, 7 insertions(+) If this patch

[PATCH 1/2] Collect handling of wpixput and wpbuf into a helper class.

2020-03-08 Thread Hans-Bernhard Broeker
Replace direct access to a pair of co-dependent variables by calls to methods of a class that encapsulates their relation. Also replace C #define by C++ class constant. --- winsup/cygwin/fhandler_console.cc | 141 -- 1 file changed, 76 insertions(+), 65 deletions(-)

[PATCH 0/2] wpbuf class-ification

2020-03-08 Thread Hans-Bernhard Broeker
Second shot at wpbuf class-ification. Also no longer request data from WriteConsoleA that is not used for anything. Hans-Bernhard Broeker (2): Collect handling of wpixput and wpbuf into a helper class. Do not bother passing optional argument to WriteConsoleA.

[PATCH 2/2] Do not bother passing optional argument to WriteConsoleA.

2020-03-08 Thread Hans-Bernhard Broeker
Passing a pointer to a local variable to WriteConsoleA is not actually needed if we're not going to do anything with what WriteConsoleA would put in there. For the wpbuf class the pointer argument was made optional, so it can be just left out; other call places now pass a NULL pointer instead.

[PATCH 2/2] Do not bother passing optional argument to WriteConsoleA.

2020-03-08 Thread Hans-Bernhard Bröker
Passing a pointer to a local variable to WriteConsoleA is not actually needed if we're not going to do anything with what WriteConsoleA would put in there. For the wpbuf class the pointer argument was made optional, so it can be just left out; other call places now pass a NULL pointer instead.

[PATCH 1/2] Collect handling of wpixput and wpbuf into a helper class.

2020-03-08 Thread Hans-Bernhard Bröker
Replace direct access to a pair of co-dependent variables by calls to methods of a class that encapsulates their relation. Also replace C #define by C++ class constant. --- winsup/cygwin/fhandler_console.cc | 141 -- 1 file changed, 76 insertions(+), 65 deletions(-)

[PATCH 0/2] wpbuf class-ification

2020-03-08 Thread Hans-Bernhard Bröker
Second shot at wpbuf class-ification. Also no longer request data from WriteConsoleA that is not used for anything. Hans-Bernhard Broeker (2): Collect handling of wpixput and wpbuf into a helper class. Do not bother passing optional argument to WriteConsoleA.