[PATCH] libc: Replace i386/sys/fenv.h symlink with an #include shim

2020-05-16 Thread David Macek via Cygwin-patches
Same reasoning as fbaa0967. Signed-off-by: David Macek --- Excuse my ignorance, but is this acceptable? I'm not sure what actually happens with these files, but it'd be nice to get rid of the last symlink in the repo. newlib/libc/machine/i386/sys/fenv.h | 6 +- 1 file changed, 5

[PATCH v2] cygwin: doc: Add keywords for ACE order issues

2020-05-13 Thread David Macek via Cygwin-patches
. Latest inquiry: <https://cygwin.com/pipermail/cygwin/2020-May/244814.html> Signed-off-by: David Macek --- I thought about the wording and there was one one advantage of the clumsy variant -- anyone intending to modify the paragraph would immediately know why the full message is there

Re: [PATCH] cygwin: doc: Add keywords for ACE order issues

2020-05-12 Thread David Macek via Cygwin-patches
> +warning says "The permissions on ... are incorrectly orderer, which may Oof. Please fix "orderer" to "ordered" if accepted. -- David Macek

[PATCH] cygwin: doc: Add keywords for ACE order issues

2020-05-12 Thread David Macek via Cygwin-patches
May/244814.html> Signed-off-by: David Macek --- winsup/doc/ntsec.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/winsup/doc/ntsec.xml b/winsup/doc/ntsec.xml index 08a33bdc6c..b94cdd9a97 100644 --- a/winsup/doc/ntsec.xml +++ b/winsup/doc/ntsec.xml @@ -2163,7 +2

[PATCH 1/3 v3] Cygwin: accounts: Unify nsswitch.conf db_* defaults

2020-04-21 Thread David Macek via Cygwin-patches
Signed-off-by: David Macek --- winsup/cygwin/uinfo.cc | 11 +-- winsup/doc/ntsec.xml | 21 ++--- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 57d90189d3..2d5fc488bb 100644 --- a/winsup/cygwin

[PATCH 1/3 v2] Cygwin: accounts: Unify nsswitch.conf db_* defaults

2020-04-20 Thread David Macek via Cygwin-patches
Signed-off-by: David Macek --- winsup/cygwin/uinfo.cc | 11 +-- winsup/doc/ntsec.xml | 27 +++ 2 files changed, 8 insertions(+), 30 deletions(-) diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 57d90189d3..2d5fc488bb 100644 --- a/winsup/cygwin

[PATCH 2/3 v2] Cygwin: accounts: Don't keep old schemes when parsing nsswitch.conf

2020-04-20 Thread David Macek via Cygwin-patches
), for example: ``` db_home: windows cygwin /myhome/%U db_home: cygwin desc ``` Let's document this behavior as well. Signed-off-by: David Macek --- winsup/cygwin/uinfo.cc | 7 +++ winsup/doc/ntsec.xml | 5 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin

[PATCH 3/3] Cygwin: accounts: Report unrecognized db_* nsswitch.conf keywords

2020-04-20 Thread David Macek via Cygwin-patches
Signed-off-by: David Macek --- winsup/cygwin/uinfo.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index b733a6ee87..e105248c20 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -828,6 +828,8 @@ cygheap_pwdgrp

License declaration

2020-04-20 Thread David Macek via Cygwin-patches
Patches to the Cygwin sources sent by me are licensed under the 2-clause BSD license. This applies to all past patches as well. I'll try to add a Signed-off-by to each patch. -- David Macek

[PATCH 2/2] cygheap_pwdgrp: Don't keep old schemes when parsing nsswitch.conf

2020-04-17 Thread David Macek via Cygwin-patches
The implicit assumption seemed to be that any subsequent occurence of the same setting in nsswitch.conf is supposed to rewrite the previous ones completely. This was not the case if the third or any further schema was previously defined and the last line defined less than that (but at least 2),

[PATCH 1/2] cygheap_pwdgrp: Don't invent undocumented defaults in nsswitch.conf

2020-04-17 Thread David Macek via Cygwin-patches
--- winsup/cygwin/uinfo.cc | 6 -- 1 file changed, 6 deletions(-) diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 57d90189d3..227faa4248 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -831,12 +831,6 @@ cygheap_pwdgrp::nss_init_line (const char *line)

[PATCH] cygheap_pwdgrp: Handle invalid db_* entries correctly

2020-04-16 Thread David Macek via Cygwin-patches
If the first scheme in db_* was invalid, the code would think there were no schemes specified and replace the second scheme with NSS_SCHEME_DESC. Signed-off-by: David Macek --- winsup/cygwin/uinfo.cc | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/uinfo.cc

Re: [PATCH] doc/faq-using.xml: Add BeyondTrust and Cylance to BLODA

2018-02-23 Thread David Macek
On 23. 2. 2018 14:22, david.mace...@gmail.com wrote: From: David Macek <david.mace...@gmail.com> My first attempt at git-send-email, please excuse and remove the extra line. -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

[PATCH] doc/faq-using.xml: Add BeyondTrust and Cylance to BLODA

2018-02-23 Thread david . macek . 0
From: David Macek <david.mace...@gmail.com> Cylance: - https://github.com/git-for-windows/git/issues/1244 - https://cygwin.com/ml/cygwin/2017-04/msg00238.html BeyondTrust: - https://cygwin.com/ml/cygwin/2017-04/msg00092.html - https://cygwin.com/ml/cygwin/2017-05/msg00422.html --- wins

Re: [PATCH] doc/ntsec.xml: Fix typo

2018-02-22 Thread David Macek
putting up with these and other MUAs from us, Corinna really does know *the* solution that just works.  'git format-patch' followed by ''. Then I'll have to finally try `git send-email`. Any important tips? -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

Re: [PATCH] doc/ntsec.xml: Fix typo

2018-02-21 Thread David Macek
git format-patch/send-email attachments ;^> I did use `git format-patch` to make that message (then sent using TB). I guess I'll have to try something else next time. -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

[PATCH] doc/ntsec.xml: Fix typo

2018-02-21 Thread David Macek
this restriction, the reminder of the line can have as +Apart from this restriction, the remainder of the line can have as many spaces and TABs as you like. -- 2.16.2.windows.1 -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

[PATCH] Rename __in and __out in headers to avoid collision with Windows APIs

2017-07-07 Thread David Macek
tatus) }).__out)) + (((union { __typeof(__status) __sin; int __sout; }) { .__sin = (__status) }).__sout)) #endif /* __cplusplus */ -- 2.13.2.windows.1 -- David Macek

[PATCH] Rename __in and __out in headers to avoid collision with Windows APIs

2017-07-06 Thread David Macek
union wait & __status) #else /* !__cplusplus */ #define __wait_status_to_int(__status) (__extension__ \ - (((union { __typeof(__status) __in; int __out; }) { .__in = (__status) }).__out)) + (((union { __typeof(__status) __sin; int __sout; }) { .__sin = (__status) }).__sout)) #endif

Re: [PATCH] Add COMODO Internet Security and ConEmu to BLODA

2017-06-08 Thread David Macek
On 8. 6. 2017 14:48, David Macek wrote: > COMODO Internet Security: Causing GPG failures > <https://github.com/msys2/msys2/issues/38> I wonder if it makes sense to include GPG failures as a known symptom of dodgy apps. -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

[PATCH] Add COMODO Internet Security and ConEmu to BLODA

2017-06-08 Thread David Macek
offending software. For instance, it may be possible to disable -- 2.13.0.windows.1 -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

[PATCH] Add MacType to BLODA

2015-11-25 Thread David Macek
-File access problems. +File access problems Some programs (e.g., virus scanners with on-access scanning) scan or otherwise operate on every file accessed by all the other software running on your computer. In some cases they may retain an open handle on the file even -- 2.6.2.windows.1

[PATCH] Add a section describing peculiarities of how Cygwin creates NTFS symlinks

2015-11-24 Thread David Macek
. This includes dereferencing any Cygwin-only +symlinks that lie in the target path. -- 2.6.2.windows.1 -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

[PATCH] Add Forefront TMG to the BLODA

2015-11-24 Thread David Macek
e http://support.citrix.com/article/CTX107825;>Citrix Support page) Lavasoft Web Companion +Forefront TMG Sometimes these problems can be worked around, by temporarily or partially disabling the offending software. For instance, it may be possible to disable -- 2.6.2.windows.1 -- David Macek

[PATCH] Fix inconsistencies in docs regarding fstab and executable file detection

2015-04-18 Thread David Macek
. The literalcygexec/literal option is very similar to literalexec/literal, but also prevents Cygwin from setting up commands and environment variables for a normal Windows program, adding another small performance gain. The -- 2.3.5 -- David Macek smime.p7s Description: S/MIME Cryptographic