Re: Debugging Crash of setup-x86.exe?

2020-10-05 Thread Jason Gross via Cygwin
020, 07:28 Mark Hansen wrote: > On 10/4/2020 8:21 PM, Jason Gross via Cygwin wrote: > > Hi, > > > > I have downloaded the latest version of setup-x86.exe. It used to > > work fine for updating cygwin, but now no matter which mirror I > > choose, it hangs after reac

Debugging Crash of setup-x86.exe?

2020-10-04 Thread Jason Gross via Cygwin
Hi, I have downloaded the latest version of setup-x86.exe. It used to work fine for updating cygwin, but now no matter which mirror I choose, it hangs after reaching 100% on downloading setup.zst and then crashes after a couple of seconds. I've made a video of this behavior at https://youtu.be/1

Re: patch command incorrectly capitalizes filenames that live on external USB flash drives

2020-05-13 Thread Jason Gross via Cygwin
Also btw, the bug I reported to patch is at https://lists.gnu.org/archive/html/bug-patch/2020-05/msg0.html . It's not clear to me if this is a cygwin issue or a patch issue. On Wed, May 13, 2020 at 10:32 PM Jason Gross wrote: > > By the way, when I run the same script on the

Re: patch command incorrectly capitalizes filenames that live on external USB flash drives

2020-05-13 Thread Jason Gross via Cygwin
By the way, when I run the same script on the same flash drive from WSL, it works fine, and does not capitalize the filename. So this does seem to be a cygwin-patch specific issue... On Wed, May 13, 2020 at 8:31 PM Jason Gross wrote: > Sorry for the late reply; I can see replies to my messa

Re: patch command incorrectly capitalizes filenames that live on external USB flash drives

2020-05-13 Thread Jason Gross via Cygwin
oubt it is a patch issue Do you have another utility that you suggest I try that you think will display the same problem as patch? So far, `| tee -a`, `sed -i`, `touch`, `>`, and `>>` all do not display this issue, while `patch` does. -Jason On Tue, Apr 28, 2020 at 3:27 PM Jason Gross

patch command incorrectly capitalizes filenames that live on external USB flash drives

2020-04-28 Thread Jason Gross via Cygwin
Consider the following script in foo.sh: ``` #!/usr/bin/env bash set -ex cd "$1" rm -rf foo mkdir foo cd foo cat > Makefile < diff

Help with getting binaries to not print ^M

2013-11-08 Thread Jason Gross
I have some precompiled binaries (from, e.g., ocaml, gtk+). When I install them to a location like D:\OCaml\bin and run them, the output has a ^M at the end of every line. When I copy the binaries to a cygwin path (something that doesn't get translated to /cygdrive/), they work fine. This messes

Using rand_r and -std=c99 with gcc

2012-09-06 Thread Jason Gross
Hi, If I try to compile a C program which uses rand_r with gcc 4.5.3, with -std=c99, I get warning: implicit declaration of function 'rand_r'. Google gave me http://cygwin.com/ml/cygwin/2009-05/msg00417.html and http://sourceware.org/ml/newlib/2007/msg00800.html, which explains why this happens,