Re: [PATCH] Cygwin: pty: Use autoload feature for pseudo console system calls.

2019-09-15 Thread Ken Brown
On 9/15/2019 6:55 AM, Takashi Yano wrote: > - The autoload feature is used rather than GetModuleHandle(), >GetProcAddress() for CreatePseudoConsole(), ResizePseudoConsole() >and ClosePseudoConsole(). > --- > winsup/cygwin/autoload.cc | 3 +++ > winsup/cygwin/fhandler_tty.cc | 36

[PATCH] winsup/cygwin/times.cc (times): follow Linux and allow for a NULL buf argument

2019-09-15 Thread Achim Gratz
Adresses a problem reported on the Cygwin list. --- winsup/cygwin/times.cc | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 8908d44f1..909cae1f1 100644 --- a/winsup/cygwin/times.cc +++

Re: [PATCH] Cygwin: pty: Correct typos that do not fit the coding style.

2019-09-15 Thread Ken Brown
On 9/15/2019 12:36 AM, Takashi Yano wrote: > --- > winsup/cygwin/fhandler_tty.cc | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc > index 5c27510be..5072c6243 100644 > ---

Re: [PATCH 0/3] Some fixes for PTY with pseudo console support (3)

2019-09-15 Thread Ken Brown
On 9/15/2019 12:05 AM, Takashi Yano wrote: > [PATCH 1/3] Fix bad file descriptor error in some environment. > The bad file descriptor problem reported in: > https://cygwin.com/ml/cygwin-patches/2019-q3/msg00104.html > was recurring. Fixed again. > > [PATCH 2/3] Use system NLS function instead of

Re: [PATCH] winsup/cygwin/times.cc (times): follow Linux and allow for a NULL buf argument

2019-09-15 Thread Ken Brown
On 9/15/2019 12:28 PM, Achim Gratz wrote: > > Adresses a problem reported on the Cygwin list. > > --- > winsup/cygwin/times.cc | 17 +++-- > 1 file changed, 11 insertions(+), 6 deletions(-) > > diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc > index

[PATCH] Cygwin: pty: Use autoload feature for pseudo console system calls.

2019-09-15 Thread Takashi Yano
- The autoload feature is used rather than GetModuleHandle(), GetProcAddress() for CreatePseudoConsole(), ResizePseudoConsole() and ClosePseudoConsole(). --- winsup/cygwin/autoload.cc | 3 +++ winsup/cygwin/fhandler_tty.cc | 36 +-- 2 files changed, 16