Re: [PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.

2019-10-18 Thread Corinna Vinschen
, IIRC, but it still seems artificial to enforce a clear screen. Is there no other way to make the pseudo console happy? Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: getent doesn't work properly

2019-10-18 Thread Corinna Vinschen
> myUser@dom1-job11 ~ > $ getent passwd user1 Is "UK" the name of the local machine or the name of your domain? How does your /etc/nsswitch.conf file look like? Do you still have /etc/passwd and /etc/group files? If so, does removing the files change the above behaviour? If so, can you attach both files verbatim to your reply? Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [ITA] co-maint: fetchmail

2019-10-18 Thread Corinna Vinschen
before the > > upload. > > Ping? please go ahead. I'd appreciate if you'd like to take over fetchmail. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH 1/1] Cygwin: pty: Fix potential state mismatch regarding pseudo console.

2019-09-05 Thread Corinna Vinschen
Cygwin. He'll build and upload Cygwin test releases during my absence. Please don't hesitate to send more patches as required, Ken will review and eventually push them. Ken, if you like, please generate a new Cygwin test release now. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH 0/1] Cygwin: pty: Fix select() with pseudo console support.

2019-09-05 Thread Corinna Vinschen
letions(-) > > -- > 2.21.0 Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH v2 0/1] Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-05 Thread Corinna Vinschen
p/cygwin/tty.h | 1 + > 3 files changed, 16 insertions(+), 5 deletions(-) > > -- > 2.21.0 Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: pty: Fix potential state mismatch regarding pseudo console.

2019-09-05 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b7e429420063264d0be7ee6804f3e6f143f66232 commit b7e429420063264d0be7ee6804f3e6f143f66232 Author: Takashi Yano Date: Thu Sep 5 19:44:41 2019 +0900 Cygwin: pty: Fix potential state mismatch regarding pseudo console. - PTY

[newlib-cygwin] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-05 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=433c6b8e0a667f9eae41a52efadec35ac62730df commit 433c6b8e0a667f9eae41a52efadec35ac62730df Author: Takashi Yano Date: Thu Sep 5 09:24:26 2019 +0900 Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*. -

[newlib-cygwin] Cygwin: pty: Fix select() with pseudo console support.

2019-09-05 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=915fcd0ae8d83546ce135131cd25bf6795d97966 commit 915fcd0ae8d83546ce135131cd25bf6795d97966 Author: Takashi Yano Date: Thu Sep 5 13:22:54 2019 +0900 Cygwin: pty: Fix select() with pseudo console support. - select() did not

Re: [PATCH 2/2] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-04 Thread Corinna Vinschen
On Sep 4 15:11, Ken Brown wrote: > On 9/4/2019 10:42 AM, Takashi Yano wrote: > > On Wed, 4 Sep 2019 15:55:03 +0200 > > Corinna Vinschen wrote: > >> The code in fixup_after_attach() is the only code snippet setting > >> need_clear_screen = true. And that

Re: [PATCH v2 0/1] Cygwin: pty: Add a workaround for ^C handling.

2019-09-04 Thread Corinna Vinschen
nsertions(+), 1 deletion(-) > > -- > 2.21.0 Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: pty: Add a workaround for ^C handling.

2019-09-04 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d4045fdbef60d8e7e0d11dfe38b048ea2cb8708b commit d4045fdbef60d8e7e0d11dfe38b048ea2cb8708b Author: Takashi Yano Date: Wed Sep 4 22:47:42 2019 +0900 Cygwin: pty: Add a workaround for ^C handling. - Pseudo console support

Re: [PATCH v2 1/1] Cygwin: pty: Limit API hook to the program linked with the APIs.

2019-09-04 Thread Corinna Vinschen
p/cygwin/fhandler_tty.cc | 106 +++--- > winsup/cygwin/smallprint.cc | 2 + > winsup/cygwin/strace.cc | 26 + > winsup/cygwin/winsup.h| 3 + > 4 files changed, 66 insertions(+), 71 deletions(-) Pushed. Thanks, Corinna -- Corinna Vinschen Cyg

[newlib-cygwin] Cygwin: pty: Limit API hook to the program linked with the APIs.

2019-09-04 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=83b2d576c835dad6b8e2ea53b55a25e7bfcdcde7 commit 83b2d576c835dad6b8e2ea53b55a25e7bfcdcde7 Author: Takashi Yano Date: Wed Sep 4 22:46:51 2019 +0900 Cygwin: pty: Limit API hook to the program linked with the APIs. - API

Re: [PATCH 2/2] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-04 Thread Corinna Vinschen
On Sep 4 21:49, Takashi Yano wrote: > On Wed, 4 Sep 2019 12:47:38 +0200 > Corinna Vinschen wrote: > > Why do you check the TERMs again here? After all, need_clear_screen > > is only true if one of these terms are used. > > Because, emacs seems to set environment TER

Re: [PATCH 1/2] Cygwin: pty: Add a workaround for ^C handling.

2019-09-04 Thread Corinna Vinschen
On Sep 4 22:30, Takashi Yano wrote: > On Wed, 4 Sep 2019 12:42:22 +0200 > Corinna Vinschen wrote: > > If this workaround works, what about making it the standard behaviour, > > rather than pseudo-console only? Would there be a downside? > > I am not sure why, b

Re: [PATCH 4/4] Cygwin: pty: Limit API hook to the program linked with the APIs.

2019-09-04 Thread Corinna Vinschen
Hi Takashi, On Sep 4 21:39, Takashi Yano wrote: > Hi Corinna, > > On Wed, 4 Sep 2019 12:03:51 +0200 > Corinna Vinschen wrote: > > I'll push the other 3 patches from this series. For this patch, > > I wonder why you create set_ishybrid_and_switch_to_pcon while >

Re: [PATCH 2/2] Cygwin: pty: Disable clear screen on new pty if TERM=dumb or emacs*.

2019-09-04 Thread Corinna Vinschen
r_screen) > +{ > + const char *term = getenv ("TERM"); > + if (term && strcmp (term, "dumb") && !strstr (term, "emacs")) Why do you check the TERMs again here? After all, need_clear_screen is only true if one of these terms are used. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH 1/2] Cygwin: pty: Add a workaround for ^C handling.

2019-09-04 Thread Corinna Vinschen
is > patch is a workaround for this issue. If this workaround works, what about making it the standard behaviour, rather than pseudo-console only? Would there be a downside? Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: pty: Fix state management for pseudo console support.

2019-09-04 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=583102e7c9255ae25310154995f855e4f573f81c commit 583102e7c9255ae25310154995f855e4f573f81c Author: Takashi Yano Date: Wed Sep 4 10:45:35 2019 +0900 Cygwin: pty: Fix state management for pseudo console support. - Pseudo

Re: [PATCH v5 0/1] Fix PTY state management in pseudo console support.

2019-09-04 Thread Corinna Vinschen
cygwin/fhandler.h | 6 +- > winsup/cygwin/fhandler_console.cc | 25 +- > winsup/cygwin/fhandler_tty.cc | 385 -- > winsup/cygwin/fork.cc | 24 +- > winsup/cygwin/spawn.cc| 65 ++--- > 6 files changed, 289 insertions(+

[newlib-cygwin] Cygwin: pty: Move function hook_api() into hookapi.cc.

2019-09-04 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ffbb9b49711f6a8e3c4f83b226ff9476327dcb61 commit ffbb9b49711f6a8e3c4f83b226ff9476327dcb61 Author: Takashi Yano Date: Wed Sep 4 10:44:25 2019 +0900 Cygwin: pty: Move function hook_api() into hookapi.cc. - PTY uses Win32

[newlib-cygwin] Cygwin: pty: Speed up a little hooked Win32 API for pseudo console.

2019-09-04 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=bddb018e10e90ea300537d5a13999558b7dce476 commit bddb018e10e90ea300537d5a13999558b7dce476 Author: Takashi Yano Date: Wed Sep 4 10:44:24 2019 +0900 Cygwin: pty: Speed up a little hooked Win32 API for pseudo console. - Some

[newlib-cygwin] Cygwin: pty: Code cleanup

2019-09-04 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9adb260181fa148fad0e91c55e41ea6d75eb8eb8 commit 9adb260181fa148fad0e91c55e41ea6d75eb8eb8 Author: Takashi Yano Date: Wed Sep 4 10:44:23 2019 +0900 Cygwin: pty: Code cleanup - Cleanup the code which is commented out by #if

Re: [PATCH 4/4] Cygwin: pty: Limit API hook to the program linked with the APIs.

2019-09-04 Thread Corinna Vinschen
this througout. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: sys/wait.h: Add _wait prototype to avoid compiler warning

2019-09-03 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7630c77026da1c98a0c77f50ad3fbd4589a7a260 commit 7630c77026da1c98a0c77f50ad3fbd4589a7a260 Author: Corinna Vinschen Date: Tue Sep 3 12:45:55 2019 +0200 Cygwin: sys/wait.h: Add _wait prototype to avoid compiler warning

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3

2019-09-03 Thread Corinna Vinschen
t > declaration of function ‘_wait’; did you mean ‘wait’? > [-Wimplicit-function-declaration] >if ((ret = _wait (status)) == -1 && errno != 0) > ^ > wait The attached patch should fix it. Thanks, Corinna -- C

Re: [PATCH v4 1/1] Cygwin: pty: Fix state management for pseudo console support.

2019-09-03 Thread Corinna Vinschen
found out, I suppose. Indeed. We can keep the code in for now, but the end result should call a tweaked version of __loadlocale instead. As long as the tweak only requires a single extra argument, or if the category or new_locale argument can be used as indicator to trigger the required special behavour, we should have no problem to get that into newlib. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH v4 1/1] Cygwin: pty: Fix state management for pseudo console support.

2019-09-02 Thread Corinna Vinschen
the NT functions throughout outside of the console/tty code. In terms of USE_OWN_NLS_FUNC: - Why do we need this function at all? Can't this be handled by __loadlocale instead? If not, what is __loadlocale missing to make this work without duplicating the function? Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3

2019-09-02 Thread Corinna Vinschen
On Sep 1 12:00, Biswapriyo Nath wrote: > To Corinna Vinschen: > > > We can only use what's part of the current w32api-headers package. > > I occasionally contribute to mingw-w64 repository. Is there anything I can > do so that cygwin uses latest headers and lib

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

2019-09-02 Thread Corinna Vinschen
chance would have it somebody will report a problem. I'm not opposed to removing this code, but I'd like to get Eric's input on this. Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3

2019-08-30 Thread Corinna Vinschen
On Aug 31 03:20, Takashi Yano wrote: > On Fri, 30 Aug 2019 09:55:23 +0200 > Corinna Vinschen wrote: > > On Aug 29 22:15, Biswapriyo Nath wrote: > > > On Thursday, August 29, 2019, Corinna Vinschen > > > 1a. In fhandler_pty_mater::ioctl function, shouldn't the fun

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

2019-08-30 Thread Corinna Vinschen
Eric? On Aug 29 17:05, Houder wrote: > On Wed, 28 Aug 2019 16:22:20, Corinna Vinschen wrote: > > > > As simple as that? > > > > > > diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc > > > index b757851d5c7f..747b1582af50 100644 > > > -

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3

2019-08-30 Thread Corinna Vinschen
[CC Takashi] On Aug 29 22:15, Biswapriyo Nath wrote: > On Thursday, August 29, 2019, Corinna Vinschen > wrote: > > Support the new pseudo console in PTY. Pseudo console is a new feature > in Windows 10 1809, which provides console APIs on virtual terminal. > > Some querie

[ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3

2019-08-29 Thread Corinna Vinschen
win.com/ml/cygwin/2019-08/msg00107.html === Have fun, Corinna -- Corinna Vinschen Cygwin Maintainer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

TEST: Cygwin 3.1.0-0.3

2019-08-29 Thread Corinna Vinschen
win.com/ml/cygwin/2019-08/msg00107.html === Have fun, Corinna -- Corinna Vinschen Cygwin Maintainer

[newlib-cygwin] Cygwin: add W10 pseudo console support to release notes

2019-08-29 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=483fb49ea0a3f5ad14c71f672c72d43a692e2957 commit 483fb49ea0a3f5ad14c71f672c72d43a692e2957 Author: Corinna Vinschen Date: Thu Aug 29 13:56:00 2019 +0200 Cygwin: add W10 pseudo console support to release notes Signed-off

[newlib-cygwin] Cygwin: pty: add pseudo console support.

2019-08-29 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=169d65a5774acc76ce3f3feeedcbae7405aa9b57 commit 169d65a5774acc76ce3f3feeedcbae7405aa9b57 Author: Takashi Yano Date: Wed Aug 28 03:04:02 2019 +0900 Cygwin: pty: add pseudo console support. - Support pseudo console in PTY.

Re: fetchmail issue

2019-08-29 Thread Corinna Vinschen
On Aug 29 09:00, Eliza wrote: > > > on 2019/8/28 20:55, Corinna Vinschen wrote: > > The old fetchmail was not linked against openSSL and so was unable to > > handle pops/imaps. > > > > I've uploaded a test release of the upcoming new version of fetchmail, &

Re: Bug report: Killing a native process may not actually kill it

2019-08-28 Thread Corinna Vinschen
On Aug 28 08:59, Quanah Gibson-Mount wrote: > > > --On Wednesday, August 28, 2019 6:45 PM +0200 Corinna Vinschen > wrote: > > > Not likely. Cygwin handles Ctrl-C by generating SIGINT. This only > > works reliably with Cygwin processes. There's > > >

Re: Bug report: Killing a native process may not actually kill it

2019-08-28 Thread Corinna Vinschen
generating SIGINT. This only works reliably with Cygwin processes. There's $ /bin/kill -f to call the Win32 function TerminateProcess(pid) on a non-Cygwin process or an unresponsive Cygwin process. Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

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

2019-08-28 Thread Corinna Vinschen
On Aug 28 16:15, Corinna Vinschen wrote: > On Aug 28 08:36, Eric Blake wrote: > > On 8/28/19 7:59 AM, Corinna Vinschen wrote: > > > > >>>>> mkdir(2) has some special code from 2009 which drops trailing > > >>>>> {back}slashes to perform a

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

2019-08-28 Thread Corinna Vinschen
On Aug 28 08:36, Eric Blake wrote: > On 8/28/19 7:59 AM, Corinna Vinschen wrote: > > >>>>> mkdir(2) has some special code from 2009 which drops trailing > >>>>> {back}slashes to perform a bordercase in mkdir Linux-compatible. > >>>>>

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

2019-08-28 Thread Corinna Vinschen
On Aug 28 09:16, Houder wrote: > On Tue, 27 Aug 2019 11:44:17, Vince Rice wrote: > > > > On Aug 27, 2019, at 11:28 AM, Houder wrote: > > > > > > On Tue, 27 Aug 2019 17:25:49, Corinna Vinschen wrote: > > >> > > >> mkdir(2) has some special

Re: fetchmail issue

2019-08-28 Thread Corinna Vinschen
pops/imaps. I've uploaded a test release of the upcoming new version of fetchmail, 6.4.0, based on the latest rc3: https://cygwin.com/ml/cygwin-announce/2019-08/msg00022.html Please give it a try, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: HEADS UP package "fetchmail" vulnerable and 6.4.0 release candidate out

2019-08-28 Thread Corinna Vinschen
efore 6.4.0. Deadline end of August 2019, and unless really > needed for non-trivial code changes, rc2 is also the planned final > candidate. Builds fine against OpenSSL-1.1. I can't test it ATM, but I prepared a test release of the current rc3 for our users https://cygwin.com/ml/cyg

[ANNOUNCEMENT] TEST: fetchmail 6.4.0.rc3-1

2019-08-28 Thread Corinna Vinschen
The following packages have been uploaded to the Cygwin distribution: * fetchmail-6.4.0.rc3-1 This is a test release for the upcoming fetchmail 6.4.0. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

TEST: fetchmail 6.4.0.rc3-1

2019-08-28 Thread Corinna Vinschen
The following packages have been uploaded to the Cygwin distribution: * fetchmail-6.4.0.rc3-1 This is a test release for the upcoming fetchmail 6.4.0.

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

2019-08-28 Thread Corinna Vinschen
On Aug 27 14:37, Brian Inglis wrote: > On 2019-08-27 11:54, Achim Gratz wrote: > > Corinna Vinschen writes: > >> mkdir(2) has some special code from 2009 which drops trailing > >> {back}slashes to perform a bordercase in mkdir Linux-compatible. > >> This c

Re: [PATCH] Cygwin: get_posix_access: avoid negative subscript

2019-08-28 Thread Corinna Vinschen
On Aug 27 20:00, Ken Brown wrote: > On 8/27/2019 4:13 AM, Corinna Vinschen wrote: > > On Aug 26 17:43, Ken Brown wrote: > >> Don't refer to lacl[pos] unless we know that pos >= 0. > > > > I'm not sure this is entirely right. Moving the assignment

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

2019-08-27 Thread Corinna Vinschen
On Aug 27 11:44, Vince Rice wrote: > > On Aug 27, 2019, at 11:28 AM, Houder wrote: > > > > On Tue, 27 Aug 2019 17:25:49, Corinna Vinschen wrote: > >> … > >> mkdir(2) has some special code from 2009 which drops trailing > >> {back}slashes to p

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

2019-08-27 Thread Corinna Vinschen
ence? mkdir(2) has some special code from 2009 which drops trailing {back}slashes to perform a bordercase in mkdir Linux-compatible. This code snippet doesn't exist in rmdir(2). Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH] Cygwin: get_posix_access: avoid negative subscript

2019-08-27 Thread Corinna Vinschen
has_def_class_perm = true; > + def_class_perm = lacl[pos].a_perm; > } > - has_def_class_perm = true; > - def_class_perm = lacl[pos].a_perm; > } > } > } > -- > 2.21.0 -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: math: Fix cosh(-INFINITY) to return +INFINITY

2019-08-20 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8dee6fe6a5e7dd31af9c83ec2fe31d0d13dfa44f commit 8dee6fe6a5e7dd31af9c83ec2fe31d0d13dfa44f Author: Martin Storsjö Date: Tue Jul 30 23:51:09 2019 +0300 Cygwin: math: Fix cosh(-INFINITY) to return +INFINITY Signed-off-by:

[newlib-cygwin] Cygwin: math: Properly propagate input NANs in a few functions

2019-08-20 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f7f296b46f2607814c326ea1ed9b3294eb746034 commit f7f296b46f2607814c326ea1ed9b3294eb746034 Author: Martin Storsjö Date: Thu Jul 25 00:13:13 2019 +0300 Cygwin: math: Properly propagate input NANs in a few functions While

[newlib-cygwin] Cygwin: math: Fix the return value for tgammal for zero and negative integers

2019-08-20 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f4e7849fa9fcd5ff0d7318f9d3d13fada6e4b317 commit f4e7849fa9fcd5ff0d7318f9d3d13fada6e4b317 Author: Martin Storsjö Date: Mon Jul 29 23:48:01 2019 +0300 Cygwin: math: Fix the return value for tgammal for zero and negative integers

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Corinna Vinschen
On Aug 20 00:03, Takashi Yano wrote: > On Mon, 19 Aug 2019 16:00:40 +0200 > Corinna Vinschen wrote: > > As far as I can tell this is not a bug. I added debug output and found > > that ps grabs the process list *before* bash execve's into cat. So at > > the time ps gets t

Re: find command seems to lock files

2019-08-19 Thread Corinna Vinschen
On Aug 19 10:06, Eliot Moss wrote: > On 8/19/2019 10:03 AM, Corinna Vinschen wrote: > > On Aug 19 14:33, Morten Kjærulff wrote: > > > Hi, > > > > > > I have an application which constantly: > > > creates a file > > > do some processing

Re: find command seems to lock files

2019-08-19 Thread Corinna Vinschen
gt; sometimes can't delete it. > > Could this be true? Cygwin does not actually lock anything except in very rare circumstances. Your problem is more likely triggered by a realtime virus scanner. Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Corinna Vinschen
On Aug 19 21:49, Takashi Yano wrote: > Hi Corinna, > > On Mon, 19 Aug 2019 12:39:56 +0200 > Corinna Vinschen wrote: > > I uploaded a new Cygwin test release 3.1.0-0.2 > > I tested it in a short time and confirmed the bugs I reported recently > have been fixed. Thank

TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Corinna Vinschen
collisions between memory maps created with shmat and Windows datastructures during fork. Addresses: https://cygwin.com/ml/cygwin/2019-08/msg00107.html === Have fun, Corinna -- Corinna Vinschen Cygwin Maintainer

[ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Corinna Vinschen
collisions between memory maps created with shmat and Windows datastructures during fork. Addresses: https://cygwin.com/ml/cygwin/2019-08/msg00107.html === Have fun, Corinna -- Corinna Vinschen Cygwin Maintainer -- Probl

Re: GCC release criteria

2019-08-19 Thread Corinna Vinschen
to x86_64-pc-cygwin? What do you think? Sounds right. I don't know how the secondary target choices are made, though. Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: Clang is using the wrong memory model

2019-08-19 Thread Corinna Vinschen
On Aug 18 18:24, Agner Fog wrote: > On 18/08/2019 13.57, Corinna Vinschen wrote: > > Nope, Cygwin uses the Windows loader. > > Then, how do you do the extra linking? What is producing the "Cygwin runtime > failure" message when loading/linking a DLL fails? > > &

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-19 Thread Corinna Vinschen
On Aug 18 16:29, Achim Gratz wrote: > Corinna Vinschen writes: > > There's no xlocale.h on Linux either. What do these packages do in > > that case? > > I've dug a little bit deeper. The trouble is that perl.h has picked up > xlocale.h as the location of some of the in

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-18 Thread Corinna Vinschen
On Aug 18 14:06, Achim Gratz wrote: > Corinna Vinschen writes: > > - Eliminate a header file name collision with on case > > insensitive filesystems by reverting back to . > > What's the suggested way to deal with software that expects to be able > to "#include &

[newlib-cygwin] Cygwin: select: revamp non-polling code for signalfd

2019-08-18 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7097b05eda2f8e9058eab4fda8dedacdfb7ffd7f commit 7097b05eda2f8e9058eab4fda8dedacdfb7ffd7f Author: Corinna Vinschen Date: Fri Aug 16 16:36:06 2019 +0200 Cygwin: select: revamp non-polling code for signalfd Rather than

[newlib-cygwin] Revert "Cygwin: fix potential SEGV in sigwaitinfo/signalfd scenario"

2019-08-18 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b7399d5e6f8ad5b15cd725f66b3e49732393ef03 commit b7399d5e6f8ad5b15cd725f66b3e49732393ef03 Author: Corinna Vinschen Date: Fri Aug 16 16:36:20 2019 +0200 Revert "Cygwin: fix potential SEGV in sigwaitinfo/signalfd sce

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-18 Thread Corinna Vinschen
On Aug 18 01:43, Takashi Yano wrote: > Hi Corinna, > > On Fri, 16 Aug 2019 16:48:11 +0200 > Corinna Vinschen wrote: > > I now had an idea, but I'm not entirely sure if it's the right thing to > > do. Can you please test this? It consists of two patches, one with t

Re: Clang is using the wrong memory model

2019-08-18 Thread Corinna Vinschen
If the medium model is wasteful in clang, that's a clang optimization problem, not a Cygwin problem. Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: Clang is using the wrong memory model

2019-08-17 Thread Corinna Vinschen
quot;, __progname); } EOF $ cat > main.c < gcc is using the small memory model by default in Cygwin64, and it works. No, it's not, see above. > clang is using the small memory by default when cross-compiling for a > Cygwin64 target from Linux, and it works. ...in *your* example code

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-16 Thread Corinna Vinschen
Hi Takashi, On Aug 15 17:09, Corinna Vinschen wrote: > On Aug 15 17:04, Corinna Vinschen wrote: > > On Aug 15 12:36, Corinna Vinschen wrote: > > > On Aug 15 09:49, Corinna Vinschen wrote: > > > > On Aug 15 04:21, Takashi Yano wrote: > > > > > On Wed,

Re: Clang is using the wrong memory model

2019-08-16 Thread Corinna Vinschen
On Aug 16 12:38, Agner Fog wrote: > > On 16/08/2019 11.52, Corinna Vinschen wrote: > > 2 GB. Think errno accessed from another DLL. Your application works only > > by chance. > > Good example. > > errno appears to be a global variable for historical reaso

Re: Clang is using the wrong memory model

2019-08-16 Thread Corinna Vinschen
res the > distance between a code section and it's data section to be below 2GB. And that's the point. The distances are not guranteed to be within 2 GB. Think errno accessed from another DLL. Your application works only by chance. Corinna -- Corinna Vinschen Cygwin Maintainer signature

Re: Clang is using the wrong memory model

2019-08-16 Thread Corinna Vinschen
ess for mmaps starting with Windows 8.1 and Cygwin 3.1 So there's a difference between non-Cygwin (-mcmodel=small as default) and Cygwin (at least -mcmodel=medium). Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-15 Thread Corinna Vinschen
On Aug 15 17:04, Corinna Vinschen wrote: > On Aug 15 12:36, Corinna Vinschen wrote: > > On Aug 15 09:49, Corinna Vinschen wrote: > > > On Aug 15 04:21, Takashi Yano wrote: > > > > On Wed, 14 Aug 2019 15:49:00 +0200 > > > > Corinna Vinschen

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-15 Thread Corinna Vinschen
On Aug 15 12:36, Corinna Vinschen wrote: > On Aug 15 09:49, Corinna Vinschen wrote: > > On Aug 15 04:21, Takashi Yano wrote: > > > On Wed, 14 Aug 2019 15:49:00 +0200 > > > Corinna Vinschen wrote: > > > > The only reason I can see is if

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-15 Thread Corinna Vinschen
On Aug 15 09:49, Corinna Vinschen wrote: > On Aug 15 04:21, Takashi Yano wrote: > > On Wed, 14 Aug 2019 15:49:00 +0200 > > Corinna Vinschen wrote: > > > The only reason I can see is if sigwait_common() returns EINTR because > > > it was interrupted by an unr

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread Corinna Vinschen
On Aug 15 12:20, Corinna Vinschen wrote: > On Aug 15 09:41, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > > > git format-patch output with commit message, please? > > > > Please educate me how to do that; I am just using "git diff --no-color&quo

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread Corinna Vinschen
u're not the author of a patch. It's also pretty time-consuming since you have to care for correct authorship and stuff. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH] Cygwin: ldd: Try harder to get dll names

2019-08-15 Thread Corinna Vinschen
> winsup/utils/Makefile.in | 2 +- > winsup/utils/ldd.cc | 44 +++- > 2 files changed, 44 insertions(+), 2 deletions(-) Great idea, pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: ldd: Try harder to get dll names

2019-08-15 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e3ca53d9dbec803cd932884ffbbf4f77352603e5 commit e3ca53d9dbec803cd932884ffbbf4f77352603e5 Author: Mark Geisert Date: Wed Aug 14 22:59:43 2019 -0700 Cygwin: ldd: Try harder to get dll names Borrow a trick from strace to

Re: [PATCH 1/1] Cygwin: console: Fix the condition to interrupt select() by SIGWINCH

2019-08-15 Thread Corinna Vinschen
mp; global_sigs[SIGWINCH].sa_handler != SIG_DFL) > { > set_sig_errno (EINTR); > fh->release_input_mutex (); > -- > 2.21.0 Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: console: Fix the condition to interrupt select() by SIGWINCH

2019-08-15 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3a929f27f8c3c870eb61518c9c12bf1834f84558 commit 3a929f27f8c3c870eb61518c9c12bf1834f84558 Author: Takashi Yano Date: Thu Aug 15 14:03:00 2019 +0900 Cygwin: console: Fix the condition to interrupt select() by SIGWINCH -

Re: [PATCH 1/1] Cygwin: console: Fix workaround for horizontal tab position

2019-08-15 Thread Corinna Vinschen
t; 1 file changed, 29 insertions(+), 18 deletions(-) Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: console: Fix workaround for horizontal tab position

2019-08-15 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e6910dfff6914e6286ad09b5af30e28d9687c8e5 commit e6910dfff6914e6286ad09b5af30e28d9687c8e5 Author: Takashi Yano Date: Thu Aug 15 14:02:05 2019 +0900 Cygwin: console: Fix workaround for horizontal tab position - The

Re: [PATCH 1/1] Cygwin: console: Fix the condition to interrupt select() by SIGWINCH

2019-08-15 Thread Corinna Vinschen
mp; global_sigs[SIGWINCH].sa_handler != SIG_DFL) > { > set_sig_errno (EINTR); > fh->release_input_mutex (); > -- > 2.21.0 Do you think a similar workaround would help for the signalfd problem? Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-15 Thread Corinna Vinschen
On Aug 15 04:21, Takashi Yano wrote: > On Wed, 14 Aug 2019 15:49:00 +0200 > Corinna Vinschen wrote: > > The only reason I can see is if sigwait_common() returns EINTR because > > it was interrupted by an unrelated signal. This in turn lets the read() > > call fail wi

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread Corinna Vinschen
+myself->nice = winprio_to_nice(winprio); > + return myself->nice; > +} >break; > case PRIO_PGRP: >if (!who) > git format-patch output with commit message, please? The commit message should describe what the problem is and how

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-14 Thread Corinna Vinschen
On Aug 14 20:47, Takashi Yano wrote: > On Wed, 14 Aug 2019 20:41:00 +0900 > Takashi Yano wrote: > > Hi Corinna, > > > > On Tue, 13 Aug 2019 12:47:53 +0200 > > Corinna Vinschen wrote: > > > I created a patch which *seems* to do the right thing. I'm no

Re: mq_notify api of mqueue.h does not work

2019-08-13 Thread Corinna Vinschen
nal_Project/blob/master/mq_ipc/src/mq_ipccore.cpp > > Thanks in advance! Can you please create a simple, self-contained testcase in plain C? Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-13 Thread Corinna Vinschen
On Aug 12 17:36, Corinna Vinschen wrote: > On Aug 12 22:44, Takashi Yano wrote: > > [...] > > (4) Segmentation fault occurs in some cases regarding signalfd. > > [...] > > However, I can not find out the cause of problem (4). This seems > > to af

[newlib-cygwin] Cygwin: fix potential SEGV in sigwaitinfo/signalfd scenario

2019-08-13 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=92115a83a4579635e253be2887d3706d28b477fd commit 92115a83a4579635e253be2887d3706d28b477fd Author: Corinna Vinschen Date: Mon Aug 12 22:40:50 2019 +0200 Cygwin: fix potential SEGV in sigwaitinfo/signalfd scenario

[newlib-cygwin] Cygwin: ps: fix a compiler warning

2019-08-12 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3b4685bf97a0649be7b19bf8efab44ca191aa6f8 commit 3b4685bf97a0649be7b19bf8efab44ca191aa6f8 Author: Corinna Vinschen Date: Mon Aug 12 17:29:59 2019 +0200 Cygwin: ps: fix a compiler warning Signed-off-by: Corinna Vinschen

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-12 Thread Corinna Vinschen
ce where it supposedly crashes looks weird. But I don't see how your patch should be the right thing to do. Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH 0/1] Fix cursor position restoration on console

2019-08-12 Thread Corinna Vinschen
patch fixes this problem. > > Takashi Yano (1): > Cygwin: console: Fix cursor position restore after screen alternation. > > winsup/cygwin/fhandler_console.cc | 3 +++ > 1 file changed, 3 insertions(+) > > -- > 2.21.0 Pushed. Thanks, Corinna -- Corinna Vin

Re: [PATCH 1/1] Cygwin: console: Add workaround for windows xterm compatible mode bug.

2019-08-12 Thread Corinna Vinschen
+ /* Restore cursor position */ > + SetConsoleCursorPosition (get_output_handle (), sbi.dwCursorPosition); > + } > get_ttyp ()->kill_pgrp (SIGWINCH); >return true; > } > -- > 2.21.0 Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH 0/1] Fix deadlock at calling fork() in console

2019-08-12 Thread Corinna Vinschen
rk(). > > winsup/cygwin/fhandler_console.cc | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > -- > 2.21.0 Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

[newlib-cygwin] Cygwin: console: Add workaround for windows xterm compatible mode bug.

2019-08-12 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=33a21904a702191cebf0e81b4deba2dfa10a406c commit 33a21904a702191cebf0e81b4deba2dfa10a406c Author: Takashi Yano Date: Mon Aug 12 22:47:42 2019 +0900 Cygwin: console: Add workaround for windows xterm compatible mode bug. -

[newlib-cygwin] Cygwin: console: Fix cursor position restore after screen alternation.

2019-08-12 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d178de278a7a8c73f5c8c8b61def5e13e07ece2c commit d178de278a7a8c73f5c8c8b61def5e13e07ece2c Author: Takashi Yano Date: Mon Aug 12 22:48:45 2019 +0900 Cygwin: console: Fix cursor position restore after screen alternation. -

  1   2   3   4   5   6   7   8   9   10   >