Re: Typed characters are mis-ordered when CPU usage is high

2022-03-02 Thread Kaz Kylheku (Cygwin)
On 2022-02-27 06:53, Takashi Yano wrote: I think this is due to a bug which I recently fixed. https://cygwin.com/pipermail/cygwin-patches/2022q1/011791.html Was that upstreamed? Sorry to be a pain, but something in the log message about the cause and the fix (not just the manifested issue being

Re: ExitProcess does not work in Cygwin?

2022-01-13 Thread Kaz Kylheku (Cygwin)
On 2022-01-13 05:40, Eliot Moss wrote: On 1/13/2022 1:39 AM, Jay K wrote: ExitProcess does not work in Cygwin? ExitProcess does not appear to be a POSIX function. This is a real issue worth looking into. Though ExitProcess isn't a POSIX function, Cygwin can capture the termination status of

Re: A problem with noacl+umask+chmod result

2021-04-17 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2021-04-08 21:34, Orgad Shaneh via Cygwin wrote: On Fri, Apr 9, 2021 at 4:50 AM Andrey Repin wrote: Greetings, Orgad Shaneh! > On Wed, Apr 7, 2021 at 11:47 PM Orgad Shaneh wrote: > Marco Atzeri replied to the mailing list but did not CC me, so I > didn't receive it: The expectation is th

Re: Warning cygwin

2021-02-22 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2021-02-22 15:53, Brian Inglis wrote: On 2021-02-22 16:41, Kaz Kylheku wrote: On 2021-02-22 11:19, cygwinautoreply wrote: https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings It would be ideal if this auto-reply didn't include the Cygwin mailing list; there is no need for th

Re: Warning cygwin

2021-02-22 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2021-02-22 11:19, cygwinautoreply--- via Cygwin wrote: https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings It would be ideal if this auto-reply didn't include the Cygwin mailing list; there is no need for the mailing list to read this. Scratch that; it would be ideal if neit

Re: chmod issue on 3.1.7.

2020-12-25 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-12-24 14:56, Ken Brown via Cygwin wrote: Could the problem be that the owner and group are the same? You can do that on unix, but I'm not sure the Windows security model allows it. For example, what happens when you remove permissions of the owner kaz while retaining the permissions of

Re: chmod issue on 3.1.7.

2020-12-24 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-10 09:32, Kaz Kylheku (Cygwin) via Cygwin wrote: Hi all, Running this Cygwin on a Windows 10 system: 0:DESKTOP-K8055OB:~$ uname -a CYGWIN_NT-10.0-WOW DESKTOP-K8055OB 3.1.7(0.340/5/3) 2020-08-22 19:03 i686 Cygwi When a file is created, and permissions set as follows: 0

Re: Unconsistent command-line parsing in case of UTF-8 quoted arguments

2020-10-18 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-14 14:47, Jérôme Froissart wrote: The choice of GetCommandLineA was for illustration purposes; had I used GetCommandLineW I would not be able to printf using %ls under CMD.EXE, because of code page issues. However here is a modified version of the test program that uses GetCommandLineW

Re: Unconsistent command-line parsing in case of UTF-8 quoted arguments

2020-10-13 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-06 14:36, Jérôme Froissart wrote: Here is an example C file $ cat example.c #include const char *GetCommandLineA(void); int main(int argc, char *argv[]) { const char *s = GetCommandLineA(); printf("C=%s\n", s); for (int i = 0; argc > i; i

ANN: Cygnal 3.1.6.98 beta.

2020-10-12 Thread Kaz Kylheku (Cygwin) via Cygwin
Hi All, I've rebased the Cygnal patches against Cygwin 3.1.7 and released a new beta. http://www.kylheku.com/cygnal/#3-6-1-98 The last time I rebased was 2.9.0; it's been a while. The Cygnal project provides a modified version of the main Cygwin DLL which allows programmers who work with Cygwi

Re: chmod issue on 3.1.7.

2020-10-11 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-10 14:51, Brian Inglis wrote: D/ACLs on the directory could restore/maintain the permissions: could we please see the output from ls -l, getfacl, and icacls on the directory and file? Thanks for your responses, Ken and Brian. See what you can make of this: 0:DESKTOP-K8055OB:~$ ls

Build spends a long time in "mkimport".

2020-10-10 Thread Kaz Kylheku (Cygwin) via Cygwin
Hi All, When building the Cygwin DLL, this single step takes almost ten minutes: ../../.././winsup/cygwin/mkimport --cpu=i686 --ar=ar --as=as --nm=nm --objcopy=objcopy \ --replace=atexit= --replace=timezone= --replace=uname=uname_x --replace=__xdrrec_getrec= [ .. SNIP ... ] --replac

Re: Problem building cygwin-3_1_7-release tagged newlib.

2020-10-10 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-10 12:39, Ken Brown wrote: On 10/10/2020 3:22 PM, Kaz Kylheku (Cygwin) via Cygwin wrote:  4896 |   typedef struct _MEM_ADDRESS_REQUIREMENTS {   |  ^ This looks like a clash between the installed toolchain header and the one in the

Problem building cygwin-3_1_7-release tagged newlib.

2020-10-10 Thread Kaz Kylheku (Cygwin) via Cygwin
Hi, I'm trying to build the 3.1.7 tagged newlib. It runs into this problem: c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Wimplicit-fallthrough=5 -Werror -fmerge-constants -ftracer -c -

chmod issue on 3.1.7.

2020-10-10 Thread Kaz Kylheku (Cygwin) via Cygwin
Hi all, Running this Cygwin on a Windows 10 system: 0:DESKTOP-K8055OB:~$ uname -a CYGWIN_NT-10.0-WOW DESKTOP-K8055OB 3.1.7(0.340/5/3) 2020-08-22 19:03 i686 Cygwi When a file is created, and permissions set as follows: 0:DESKTOP-K8055OB:~$ touch tempfile 0:DESKTOP-K8055OB:~$ chmod 037