[ANNOUNCEMENT] unison 2.53.2-1

2023-04-06 Thread Andrew Schulman via Cygwin-announce via Cygwin
unison 2.53.2-1 is now available in Cygwin. This is a new upstream release, with new features and bug fixes. See the upstream release log[1] for details. Unison is a file synchronizer for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different

Re: bash shell script: recently running, now failing

2023-04-06 Thread Corinna Vinschen via Cygwin
On Apr 6 04:43, Fergus Daly via Cygwin wrote: > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash > For various reasons I want this file to be identified as binary so its second > line > is the single character null \x00 showing up in some

Re: bash shell script: recently running, now failing

2023-04-06 Thread Scott Smith via Cygwin
Place the nul on the third line. For example: #!/bin/bash # # ^@ identify as a binary file ... On Thu, Apr 6, 2023 at 4:03 AM Corinna Vinschen via Cygwin < cygwin@cygwin.com> wrote: > On Apr 6 04:43, Fergus Daly via Cygwin wrote: > > I have a "hash bang" bash shell script i.e. first line > >

Re: bash shell script: recently running, now failing

2023-04-06 Thread Andrey Repin via Cygwin
Greetings, Fergus Daly! > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash By default, sh is bash in base Cygwin installation. > Q3 - at 1/8 the size of bash and sh, I am not at all sure of the role and > reach of dash. > Should the edit

[ANNOUNCEMENT] libhtp 0.5.42

2023-04-06 Thread Daisuke Fujimura via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * libhtp2 * libhtp-devel LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

Re: bash shell script: recently running, now failing

2023-04-06 Thread Adam Dinwoodie via Cygwin
On Thu, Apr 06, 2023 at 04:43:51AM +, Fergus Daly via Cygwin wrote: > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash > For various reasons I want this file to be identified as binary so its second > line > is the single character null \x00

Re: bash shell script: recently running, now failing

2023-04-06 Thread Scott Smith via Cygwin
Coming from an enterprise and supercomputing background, we were able to control what shell was available, so bashisms weren't a problem any more than dashisms, fishisms, kornisms, perl or python versionisms, etc, might be. But, when I was in a commercial environment, everything - shell, perl, C,

Error running setup-x86_64.exe: syntax error in setup.zst

2023-04-06 Thread Keith Thompson via Cygwin
Running setup-x86_64.exe on a Windows 10 laptop, I get this error message: https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line 30182: syntax error, unexpected $undefined, expecting COMMA or NL https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line 30182: unrecognized

Re: [PATCH v6 4/4] Do not rely on `getenv ("HOME")`'s path conversion

2023-04-06 Thread Corinna Vinschen
On Apr 4 17:07, Johannes Schindelin wrote: > In the very early code path where `dll_crt0_1 ()` calls > `user_shared->initialize ()`, the Cygwin runtime calls `internal_pwsid ()` > to initialize the user name in preparation for reading the `fstab` file. > > In case `db_home: env` is defined in

unison 2.53.2-1

2023-04-06 Thread Andrew Schulman via Cygwin-announce
unison 2.53.2-1 is now available in Cygwin. This is a new upstream release, with new features and bug fixes. See the upstream release log[1] for details. Unison is a file synchronizer for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different

Re: [PATCH v6 4/4] Do not rely on `getenv ("HOME")`'s path conversion

2023-04-06 Thread Corinna Vinschen
On Apr 6 11:54, Johannes Schindelin wrote: > On Thu, 6 Apr 2023, Corinna Vinschen wrote: > > While the description is clear on the colon problem, shouldn't this > > catch UNC paths as well? I. e., just check for strchr(home, '\\')? > > Good idea! I do not know off-hand how well things work when

Re: [PATCH v6 4/4] Do not rely on `getenv ("HOME")`'s path conversion

2023-04-06 Thread Johannes Schindelin
Hi Corinna, On Thu, 6 Apr 2023, Corinna Vinschen wrote: > On Apr 4 17:07, Johannes Schindelin wrote: > > In the very early code path where `dll_crt0_1 ()` calls > > `user_shared->initialize ()`, the Cygwin runtime calls `internal_pwsid ()` > > to initialize the user name in preparation for

libhtp 0.5.42

2023-04-06 Thread Daisuke Fujimura via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * libhtp2 * libhtp-devel LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces.

Re: [ITP] libhtp 0.5.42

2023-04-06 Thread Daisuke Fujimura via Cygwin-apps
Thank you for your review. > libhtp2_CONTENTS=" > usr/bin/*-2.dll > usr/share > " > > So that if and when the soversion changes, packaging fails, rather than > silently ploughing on to create a libhtp2 package containing > cyghtp-3.dll, with hilarious consequences. That's a