Re: [PATCH rebase 1/2] Always update the file checksum in the PE header

2023-08-15 Thread Corinna Vinschen via Cygwin-apps
On Aug 15 11:29, Christian Franke via Cygwin-apps wrote: > Corinna Vinschen wrote: > > On Aug 12 14:26, Christian Franke via Cygwin-apps wrote: > > > This patch is still experimental, but tested with all /bin/cyg*.dll from > > > my > > > installation. > > Does that mean I shouldn't apply it for

Re: [PATCH rebase 1/2] Always update the file checksum in the PE header

2023-08-15 Thread Corinna Vinschen via Cygwin-apps
On Aug 12 14:26, Christian Franke via Cygwin-apps wrote: > This patch is still experimental, but tested with all /bin/cyg*.dll from my > installation. Does that mean I shouldn't apply it for now, or do you want me to apply it but not create a new release yet? Thanks, Corinna > > -- >

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 14 21:42, Martin Wege via Cygwin wrote: > Maybe MinGW compat is broken in 3.5.0-0.388.g1a646ad7970a? There's no Mingw compatibility stuff in Cygwin. Mingw are just non-Cygwin binaries, just like any other native Windows tool. Corinna -- Problem reports:

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 14 19:29, Roland Mainz via Cygwin wrote: > On Mon, Aug 14, 2023 at 6:25 PM Roland Mainz wrote: > > On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin > > wrote: > > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > [snip] > > > > In our

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > Hi! > > > > Cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 has some weird > path problems with network filesystems on Windows 10. Previous stable > version of Cygwin (4.7.x ?) worked fine. 3.4.7 > In our case we have a project with

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 11 17:37, Cedric Blancher via Cygwin wrote: > On Tue, 8 Aug 2023 at 20:53, Corinna Vinschen > wrote: > > > > On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > > > Good afternoon! > > > > > > How do I set mount posix=1 option for an existing bind mount? mount -o > > > remount does not

Re: Cygwin breaks net use Z: /delete in scripts?

2023-08-11 Thread Corinna Vinschen via Cygwin
First of all, do not send unsolicited email to my private address. Especially, please don't use my company email address. Keep Cygwin stuff on the cygwin list. On Aug 11 10:25, Martin Wege wrote: > Hello, > > Cygwin somehow breaks unmounting of network shares, but ONLY if the > net use

openssh 9.4p1-1

2023-08-10 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * openssh-9.4p1-1 OpenSSH is a program for logging into a remote machine and for executing commands on a remote machine. It can replace rlogin and rsh, providing encrypted communication between two machines.

[ANNOUNCEMENT] openssh 9.4p1-1

2023-08-10 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * openssh-9.4p1-1 OpenSSH is a program for logging into a remote machine and for executing commands on a remote machine. It can replace rlogin and rsh, providing encrypted communication between two machines.

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-09 Thread Corinna Vinschen via Cygwin
On Aug 9 11:12, Martin Wege via Cygwin wrote: > On Wed, Aug 9, 2023 at 10:01 AM Corinna Vinschen > wrote: > > > > On Aug 8 21:38, Martin Wege via Cygwin wrote: > > > On Tue, Aug 8, 2023 at 10:20 AM Corinna Vinschen > > > wrote: > > > > > > > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > >

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-09 Thread Corinna Vinschen via Cygwin
On Aug 8 21:38, Martin Wege via Cygwin wrote: > On Tue, Aug 8, 2023 at 10:20 AM Corinna Vinschen > wrote: > > > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > > > On Mon, Aug 7, 2023 at 9:14 PM Corinna Vinschen > > > wrote: > > > > > > > > On Aug 7 12:26, Brian Inglis via Cygwin wrote: > >

rebase 4.6.5-1

2023-08-08 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * rebase-4.6.5-1 This package contains the Cygwin rebase utilities. Use rebase for specific DLLs or rebaseall for all DLLs installed by Cygwin's setup.exe. Changes: - Add peflags -p, --timestamp option This allows to set

[ANNOUNCEMENT] rebase 4.6.5-1

2023-08-08 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * rebase-4.6.5-1 This package contains the Cygwin rebase utilities. Use rebase for specific DLLs or rebaseall for all DLLs installed by Cygwin's setup.exe. Changes: - Add peflags -p, --timestamp option This allows to set

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-08 Thread Corinna Vinschen via Cygwin
On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > Good afternoon! > > How do I set mount posix=1 option for an existing bind mount? mount -o > remount does not work. Did you read https://cygwin.com/cygwin-ug-net/mount.html? Mount points created by mount(1) only exist in the current user

Re: [PATCH 0/4] Testsuite update

2023-08-08 Thread Corinna Vinschen via Cygwin-apps
On Aug 8 17:02, Jon Turney via Cygwin-apps wrote: > On 07/08/2023 09:55, Corinna Vinschen wrote: > > On Aug 4 13:47, Jon Turney wrote: > > > This gets us down to no permanent failures in the testsuite in CI. > > There is an intermittent failure in kill01, which I need to do something > about

Re: [PATCH rebase] rebase: Add -c, --checksum option

2023-08-08 Thread Corinna Vinschen via Cygwin-apps
On Aug 8 12:10, Christian Franke via Cygwin-apps wrote: > Last patch for now. > > Left for later: ReBaseImage64() unconditionally updates the timestamp in the > file header. > > -- > Regards, > Christian > > From 3973a92cf11056521552d9d3f87efe8e721e8c31 Mon Sep 17 00:00:00 2001 > From:

Re: [PATCH rebase] Add missing pechecksum.* to SRC_DISTFILES

2023-08-08 Thread Corinna Vinschen via Cygwin-apps
On Aug 8 10:54, Christian Franke via Cygwin-apps wrote: > Missed yesterday, sorry. > > -- > Regards, > Christian > > From 84065da466d9501d0522af8860ea829ee51c12f5 Mon Sep 17 00:00:00 2001 > From: Christian Franke > Date: Tue, 8 Aug 2023 10:52:14 +0200 > Subject: [PATCH] Add missing

Re: [PATCH rebase] peflags: Fix ULONG range checks

2023-08-08 Thread Corinna Vinschen via Cygwin-apps
On Aug 8 10:40, Christian Franke via Cygwin-apps wrote: > Corinna Vinschen wrote: > > On Aug 8 10:06, Christian Franke via Cygwin-apps wrote: > > > Corinna Vinschen via Cygwin-apps wrote: > > > > Hi Christian, > > > > > > > > O

Re: [PATCH rebase] peflags: Fix ULONG range checks

2023-08-08 Thread Corinna Vinschen via Cygwin-apps
On Aug 8 10:06, Christian Franke via Cygwin-apps wrote: > Corinna Vinschen via Cygwin-apps wrote: > > Hi Christian, > > > > On Aug 7 16:07, Christian Franke via Cygwin-apps wrote: > > > Minor issue found during tests of the upcoming 'pef

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-08 Thread Corinna Vinschen via Cygwin
On Aug 7 23:14, Martin Wege via Cygwin wrote: > On Mon, Aug 7, 2023 at 9:14 PM Corinna Vinschen > wrote: > > > > On Aug 7 12:26, Brian Inglis via Cygwin wrote: > > > On 2023-08-07 08:42, Martin Wege via Cygwin wrote: > > > > We get a weird mkfifo failure in Cygwin on NTFS: > > > > > > > >

Re: [PATCH rebase 2/2] peflags: Add -k, --checksum option

2023-08-07 Thread Corinna Vinschen via Cygwin-apps
On Aug 7 16:26, Christian Franke via Cygwin-apps wrote: > This patch is on top of the --timestamp patch. Could not be applied to > current HEAD without conflicts. > > -- > Regards, > Christian > > From 9ecaf86bff5d229bf5b2a1ba1ff4674526fc1b68 Mon Sep 17 00:00:00 2001 > From: Christian Franke

Re: [PATCH rebase 1/2] peflags: Add -p, --timestamp option

2023-08-07 Thread Corinna Vinschen via Cygwin-apps
On Aug 7 16:16, Christian Franke via Cygwin-apps wrote: > Running 'peflags -p /bin/*.exe' with the patch applied suggests that > objcopy/strip recently changed behavior and no longer set timestamps to 0. > > Related: https://sourceware.org/bugzilla/show_bug.cgi?id=30702 > > -- > Regards, >

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-07 Thread Corinna Vinschen via Cygwin
On Aug 7 12:26, Brian Inglis via Cygwin wrote: > On 2023-08-07 08:42, Martin Wege via Cygwin wrote: > > We get a weird mkfifo failure in Cygwin on NTFS: > > > > /usr/bin/mkfifo -m 600 x.fifo > > mkfifo: cannot set permissions of 'x.fifo': Not a directory > > This error is also reproducible with

Re: [PATCH rebase] peflags: Fix ULONG range checks

2023-08-07 Thread Corinna Vinschen via Cygwin-apps
Hi Christian, On Aug 7 16:07, Christian Franke via Cygwin-apps wrote: > Minor issue found during tests of the upcoming 'peflags --timestamp' patch. > > -- > Regards, > Christian > > From 9da405da78e92dc8263239e25365bee3167f185e Mon Sep 17 00:00:00 2001 > From: Christian Franke > Date: Mon,

Re: sshd_config AllowStreamLocalForwarding perm off / effectively privsep off

2023-08-07 Thread Corinna Vinschen via Cygwin
On Aug 7 22:11, Shaddy Baddah via Cygwin wrote: > Hi, > > For the current OpenSSH server (9.3p2), AllowStreamLocalForwarding > defaults on. That means both local and remote unix socket port > portforwarding are possible. > > For Cygwin, it appears the remote form of this is not possible. The >

Re: Kernel stack trace for Winows 10 blue screen when running Cygwin?

2023-08-07 Thread Corinna Vinschen via Cygwin
On Aug 7 12:43, Cedric Blancher via Cygwin wrote: > On Mon, 7 Aug 2023 at 11:55, Corinna Vinschen > wrote: > > > > On Aug 7 11:29, Cedric Blancher via Cygwin wrote: > > > Forwarding to cygwin@cygwin.com > > > > > > Honestly I find it deeply concerning that a plain, unprivileged user > > > can

Re: Kernel stack trace for Winows 10 blue screen when running Cygwin?

2023-08-07 Thread Corinna Vinschen via Cygwin
On Aug 7 11:29, Cedric Blancher via Cygwin wrote: > Forwarding to cygwin@cygwin.com > > Honestly I find it deeply concerning that a plain, unprivileged user > can Bluescreen a machine, and more so that it happens during normal > Cygwin usage. Same here. Cygwin is userspace only! If any call

Re: character class "alpha"

2023-08-02 Thread Corinna Vinschen via Cygwin
On Aug 2 09:56, Corinna Vinschen via Cygwin wrote: > On Aug 1 10:29, Brian Inglis via Cygwin wrote: > > On 2023-07-31 15:12, Corinna Vinschen via Cygwin wrote: > > > Hi Bruno, > > > > > > On Jul 31 20:43, Bruno Haible via Cygwin wrote: > > > >

Re: character class "alpha"

2023-08-02 Thread Corinna Vinschen via Cygwin
On Aug 1 10:29, Brian Inglis via Cygwin wrote: > On 2023-07-31 15:12, Corinna Vinschen via Cygwin wrote: > > Hi Bruno, > > > > On Jul 31 20:43, Bruno Haible via Cygwin wrote: > > > Corinna Vinschen wrote: > > > > there are more of those expressions wh

Re: character class "alpha"

2023-07-31 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Jul 31 20:43, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > there are more of those expressions which are disabled on glibc and > > fail on Cygwin, for instance in test-c32iscntrl.c. Maybe it's actually > > the better idea to disable them on Cygwin, too, rather than

Re: posix_spawn facility

2023-07-31 Thread Corinna Vinschen via Cygwin
Hi Eric, On Jul 31 13:58, Eric Blake via Cygwin wrote: > Following up on an older thread: > > On Tue, Apr 18, 2023 at 03:49:20PM -0500, Eric Blake wrote: > > The glibc bug points to the sample posix_spawn() implementation in > > POSIX XRAT - but that example implementation is non-normative and >

Re: character class "alpha"

2023-07-31 Thread Corinna Vinschen via Cygwin
On Jul 31 19:46, Corinna Vinschen via Cygwin wrote: > On Jul 31 16:06, Bruno Haible via Cygwin wrote: > > Corinna Vinschen wrote: > > > I have a problem with the c32isalpha function. > > > > > > c32isalpha fails for the character U+FF11 FULLWIDTH DIGIT ONE, &g

Re: character class "alpha"

2023-07-31 Thread Corinna Vinschen via Cygwin
On Jul 31 16:06, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > I have a problem with the c32isalpha function. > > > > c32isalpha fails for the character U+FF11 FULLWIDTH DIGIT ONE, > > because it expects the character to be an alphabetic character. > > This is not a big problem.

Re: GB18030 locale

2023-07-31 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Jul 31 12:07, Corinna Vinschen via Cygwin wrote: > On Jul 29 11:53, Bruno Haible via Cygwin wrote: > > Corinna Vinschen wrote: > > > However, on debugging this, I see it's totally broken. Trying to fix > > > this in the existing functions is futile. We n

Re: GB18030 locale

2023-07-31 Thread Corinna Vinschen via Cygwin
On Jul 29 11:53, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > However, on debugging this, I see it's totally broken. Trying to fix > > this in the existing functions is futile. We need dedicated > > support functions for GB18030, kind of like the FreeBSD functions, > > just with

Re: GB18030 locale

2023-07-29 Thread Corinna Vinschen via Cygwin
On Jul 28 21:54, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > test-fnmatch-5.sh is SKIPped because we don't support zh_CN.GB18030. > > Hmm? When I read winsup/cygwin/release/3.5.0 and the commit > 5da71b6059956a8f20a6be02e82867aa28aa3880, it seems the zh_CN.GB18030 > locale

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 28 12:56, Bruno Haible via Cygwin wrote: > It's sometimes hard to make incremental changes to generated files of the > GNU Build System plus Gnulib. I've therefore recreated a new tarball for you, > at https://haible.de/bruno/gnu/testdir-fnmatch.tar.gz . > > The expected result is: > 1.

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 28 12:56, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > After the above fail, I tried from scratch with your below patch, > > and I still get > > > > $ grep REPLACE_FNMATCH ./config.status > > S["REPLACE_FNMATCH"]="1" > > > > Even though > > > > $ grep fnmatch log1 >

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 28 10:53, Corinna Vinschen via Cygwin wrote: > On Jul 27 23:40, Bruno Haible via Cygwin wrote: > > Corinna Vinschen wrote: > > > S["REPLACE_FNMATCH"]="1" > > > > > > Looks like the reason is that we don't have a uchar.h file?

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 28 11:00, Corinna Vinschen via Cygwin wrote: > If we do that, I think the functions > should actually be renamed accordingly and the globbing code should use > uchar32_t rather than wint_t. s/uchar32_t/char32_t/ -- Problem reports: https://cygwin.com/problems

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 27 16:17, Brian Inglis via Cygwin wrote: > On 2023-07-27 15:22, Bruno Haible wrote: > > Brian Inglis wrote: > > > It was added in C99 TR19769, integrated in C/++11 > > > > Yes. > > > > > available in libicu-devel: > > > > > > https://cplusplus.com/reference/cuchar/ > > > > > >

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 27 23:40, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > > > 4. cd testdir-fnmatch-posix > > > > ./configure 2>&1 | tee log1 > > > > make > > > > make check > > > > I fixed the above problem and the POSIX check now works fine: > > Glad that the test suite

Re: fnmatch improvements

2023-07-27 Thread Corinna Vinschen via Cygwin
On Jul 27 20:24, Corinna Vinschen via Cygwin wrote: > On Jul 27 12:15, Bruno Haible via Cygwin wrote: > I'm looking into that. First thing, your testsuite uncovered a bug in > the latest fnmatch in the C locale. Comparing pointers instead of > comparing characters was never

Re: fnmatch improvements

2023-07-27 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Jul 27 12:15, Bruno Haible via Cygwin wrote: > Hi, > > Gnulib has, for the first time, an fnmatch() implementation that supports > characters outside the Unicode Basic Multilingual Plane (BMP), even on Cygwin > with its 16-bits wchar_t type. That is, in an UTF-8 locale, e.g. >

openssh 9.3p2-1

2023-07-21 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * openssh-9.3p2-1 OpenSSH is a program for logging into a remote machine and for executing commands on a remote machine. It can replace rlogin and rsh, providing encrypted communication between two machines.

[ANNOUNCEMENT] openssh 9.3p2-1

2023-07-21 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * openssh-9.3p2-1 OpenSSH is a program for logging into a remote machine and for executing commands on a remote machine. It can replace rlogin and rsh, providing encrypted communication between two machines.

Re: Memory Barriers at pthread using CYGWIN

2023-06-22 Thread Corinna Vinschen via Cygwin
On Jun 22 19:19, Takashi Yano via Cygwin wrote: > Any suggestions? > > On Tue, 20 Jun 2023 21:53:00 +0900 > Takashi Yano wrote: > > I looked into this problem, and I think this is a problem regarding > > _my_tls initialization order, so far. This seems to happen in LDAP > > environment. > > > >

Re: cygwin-pkg-maint enhancements

2023-06-19 Thread Corinna Vinschen via Cygwin-apps
On Jun 18 12:06, Jon Turney via Cygwin-apps wrote: > On 16/06/2023 10:47, Corinna Vinschen via Cygwin-apps wrote: > > On Jun 11 19:01, Jon Turney via Cygwin-apps wrote: > > > > > > I've deployed an update to calm which makes a few small improvements to > >

[ANNOUNCEMENT] cygwin 3.4.7-1

2023-06-16 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * cygwin-3.4.7-1 * cygwin-devel-3.4.7-1 * cygwin-doc-3.4.7-1 Bug Fixes - - Fix CPU_SET(3) macro type mismatch by making the macros type-safe. Addresses https://cygwin.com/pipermail/cygwin/2023-March/253220.html -

cygwin 3.4.7-1

2023-06-16 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * cygwin-3.4.7-1 * cygwin-devel-3.4.7-1 * cygwin-doc-3.4.7-1 Bug Fixes - - Fix CPU_SET(3) macro type mismatch by making the macros type-safe. Addresses https://cygwin.com/pipermail/cygwin/2023-March/253220.html -

Re: cygwin-pkg-maint enhancements

2023-06-16 Thread Corinna Vinschen via Cygwin-apps
On Jun 11 19:01, Jon Turney via Cygwin-apps wrote: > > I've deployed an update to calm which makes a few small improvements to the > way cygwin-pkg-maint is handled: > > * Lines starting with a '#' are now ignored as a comment > > * There's now a simple facility for grouping packages: > >

Re: Trusted maintainers (was: Re: How does a package become orphaned? (was Re: Attn maintainer: python-paramiko))

2023-06-06 Thread Corinna Vinschen via Cygwin-apps
On May 13 12:18, Marco Atzeri via Cygwin-apps wrote: > On 11.05.2023 15:57, Andrew Schulman via Cygwin-apps wrote: > > > Entrusted with these strange superpowers, the following god-like beings > > > walk unknown amongst us: > > > > > > Achim Gratz > > > Corinna Vinschen > > > Ken Brown > > >

[ANNOUNCEMENT] gawk 5.2.2-1

2023-06-05 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * gawk-5.2.2-1 The gawk package contains the GNU version of awk, a text processing utility. Awk interprets a special-purpose programming language to do quick and easy text pattern matching and reformatting jobs. Install the

Re: Defect/Bug Ps.exe

2023-04-25 Thread Corinna Vinschen via Cygwin
On Apr 24 21:37, Sanyh Maslaev via Cygwin wrote: > Recent version ps command does not support option -o, which is widely used > in many makefiles. This option is trivial to implement and it would greatly > improve QL for me and many other users, although i ' m not into building > sygwin to fix it

Re: [PATCH setup 0/2] Detect filename collisions between packages

2023-04-24 Thread Corinna Vinschen via Cygwin-apps
Hi Jon, On Apr 23 15:43, Jon Turney via Cygwin-apps wrote: > This is a woefully underoptimized implementation of detecting filename > collisions between packages, so it's hidden behind the command line option > '--collisions' to enable it. > > A good implementation probably (i) collects the

Re: posix_spawn facility

2023-04-20 Thread Corinna Vinschen via Cygwin
On Apr 20 16:58, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > > Hmm. Your code uses lpReserved2 for that, but the functionality is > > > one implemented in MSVCRT. For obvious reasons, Cygwin executables > > > are not linked against msvcrt.dll and we're using lpReserved2 for our

Re: posix_spawn facility

2023-04-20 Thread Corinna Vinschen via Cygwin
On Apr 20 16:21, Corinna Vinschen via Cygwin wrote: > On Apr 20 12:18, Bruno Haible via Cygwin wrote: > > The "inheritable handles" is a data structure that allows for the > > arbitrary reshuffling of file descriptors required by posix_spawn > >

Re: posix_spawn facility

2023-04-20 Thread Corinna Vinschen via Cygwin
On Apr 20 12:18, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > Unfortunately you can't expect any noticable difference on Cygwin by > > using posix_spawn. While Cygwin has a spawn() family of functions, we > > don't (and can't... yet) use them. > > > > The problem is that we don't

Re: posix_spawn facility

2023-04-20 Thread Corinna Vinschen via Cygwin
On Apr 20 03:14, gs-cygwin.com--- via Cygwin wrote: > On Mon, Apr 17, 2023 at 08:44:51PM +0200, Bruno Haible via Cygwin wrote: > > Btw, there are two more functions in the posix_spawn family meanwhile: > > * posix_spawn_file_actions_addchdir_np > > implemented by glibc [1], musl libc, macOS,

Re: posix_spawn_file_actions_add[f]chdir_np

2023-04-19 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 19 17:05, Corinna Vinschen via Cygwin wrote: > On Apr 19 13:24, Bruno Haible via Cygwin wrote: > > Note that there is a small inconsistency between implementations: > > [...] > > Confirmed by looking at the source code: > > - musl libc: > >

Re: posix_spawn_file_actions_add[f]chdir_np

2023-04-19 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 19 13:24, Bruno Haible via Cygwin wrote: > Hi Corinna, > > > Actually I had some spare time yesterday so I came up with an > > implementation of posix_spawn_file_actions_addchdir_np and > > posix_spawn_file_actions_addfchdir_np. It's pretty straightforward: > > > >

Re: posix_spawn facility

2023-04-19 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 17 20:44, Bruno Haible via Cygwin wrote: > Btw, there are two more functions in the posix_spawn family meanwhile: > * posix_spawn_file_actions_addchdir_np > implemented by glibc [1], musl libc, macOS, FreeBSD [2], Solaris ≥ 11.3 > used by a few packages (Firefox,

Re: posix_spawn facility

2023-04-19 Thread Corinna Vinschen via Cygwin
On Apr 18 21:39, Eric Blake via Cygwin wrote: > On Wed, Apr 19, 2023 at 12:10:34AM +0200, Bruno Haible wrote: > > Eric Blake wrote: > > > we now have implementations in the wild that differ in behavior, and > > > use security as a reason for the divergence, it is worth getting that > > > clarified

Re: posix_spawn facility

2023-04-18 Thread Corinna Vinschen via Cygwin
Hi Eric, On Apr 18 15:49, Eric Blake via Cygwin wrote: > On Tue, Apr 18, 2023 at 11:25:11AM +0200, Corinna Vinschen via Cygwin wrote: > Jumping in to this conversation a bit belatedly, but as someone on the > Austin Group that can try to get an answer upstream... Many thanks for your in

Re: renameat2 works differently than on Linux

2023-04-18 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 18 14:47, Bruno Haible via Cygwin wrote: > Hi, > > The renameat2 function is "Linux-specific", says the man page [1]; however, > Cygwin implements it as well. > > In Cygwin 3.4.6, in a specific case, it operates differently than the > Linux function. Namely, if the old*

Re: ilogbl(NaN) is wrong

2023-04-18 Thread Corinna Vinschen via Cygwin
On Apr 18 13:21, Bruno Haible via Cygwin wrote: > POSIX [1] specifies that the return value of the functions ilogbf(), ilogb(), > ilogbl() for a NaN argument should all be the same, namely FP_ILOGBNAN. > > [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/ilogb.html > > In Cygwin

Re: wrong errno value set by readlinkat()

2023-04-18 Thread Corinna Vinschen via Cygwin
On Apr 18 12:21, Bruno Haible via Cygwin wrote: > Hi, > > When an empty path argument is passed to the readlinkat() function, > POSIX:2018 specifies that the function fails with error ENOENT: > > https://pubs.opengroup.org/onlinepubs/9699919799/functions/readlinkat.html > "These functions shall

Re: posix_spawn facility

2023-04-18 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 17 20:44, Bruno Haible via Cygwin wrote: > Hi Corinna, > > > > Would it be possible to change Cygwin's posix_spawnp implementation, > > > so that both tests succeed? > > > > Basically, yes, but... > > Thanks! > > > > Disclaimer: I have done my tests with Cygwin 2.9.0; so, if

tcsh 6.24.10-1

2023-04-18 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * tcsh-6.24.10-1 Tcsh is an enhanced but completely compatible version of csh, the C shell. Tcsh is a command language interpreter which can be used both as an interactive login shell and as a shell script command processor.

[ANNOUNCEMENT] tcsh 6.24.10-1

2023-04-18 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * tcsh-6.24.10-1 Tcsh is an enhanced but completely compatible version of csh, the C shell. Tcsh is a command language interpreter which can be used both as an interactive login shell and as a shell script command processor.

rebase 4.6.3-1

2023-04-18 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * rebase-4.6.3-1 This release introduces a new flag -c / --control-flow-guard to set the Control Flow Guard flag on executables per https://learn.microsoft.com/en-us/windows/win32/secbp/control-flow-guard This package

[ANNOUNCEMENT] rebase 4.6.3-1

2023-04-18 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * rebase-4.6.3-1 This release introduces a new flag -c / --control-flow-guard to set the Control Flow Guard flag on executables per https://learn.microsoft.com/en-us/windows/win32/secbp/control-flow-guard This package

Re: [PATCH v2] peflags: add support for IMAGE_DLLCHARACTERISTICS_GUARD_CF

2023-04-18 Thread Corinna Vinschen via Cygwin-apps
Hi Christoph, On Apr 17 20:40, Christoph Reiter via Cygwin-apps wrote: > This allows for setting, clearing, and displaying the value of the > "control flow guard" dll characteristics flag. > > The flag for MSVC is called "/guard:cf" and the macro ends with "GUARD_CF". > To keep things

Re: [PATCH] peflags: add support for IMAGE_DLLCHARACTERISTICS_GUARD_CF

2023-04-17 Thread Corinna Vinschen via Cygwin-apps
Hi Christoph, your patch looks good and I'm happy to merge it into peflags, but... On Apr 17 09:48, Christoph Reiter via Cygwin-apps wrote: > Jeremy noted that an option already exists in genpeimage [0] but with > a different name, which I wasn't aware of: -c/control-flow-guard, > instead of

Re: posix_spawn facility

2023-04-17 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 16 13:46, Bruno Haible via Cygwin wrote: > Hi, > > AFAIU, Cygwin has a working posix_spawn[p] implementation since 2020 > (commit 3fbfcd11fb09d5f47af3043ee47ec5c7d863d872, 2020-08-03, Cygwin 3.1.7). >

Re: Can not stat file with utf char U+F020

2023-04-17 Thread Corinna Vinschen via Cygwin
On Apr 14 23:10, Brian Inglis via Cygwin wrote: > On 2023-04-14 14:17, Gionatan Danti via Cygwin wrote: > > Il 2023-04-14 21:00 Corinna Vinschen ha scritto: > > > There's no (good) solution from inside Cygwin. > > > Yeah, I can only imagine how difficult is to be compatible with posix, > > win32

Re: Can not stat file with utf char U+F020

2023-04-17 Thread Corinna Vinschen via Cygwin
On Apr 17 07:36, Gionatan Danti via Cygwin wrote: > Il 2023-04-14 23:01 Gionatan Danti via Cygwin ha scritto: > > Il 2023-04-14 22:25 Corinna Vinschen via Cygwin ha scritto: > > > We do that. You're just stumbling over tha fact that U+F020 is also > > > used

Re: Support for Windows Server 2012 until its end of life

2023-04-17 Thread Corinna Vinschen via Cygwin
On Apr 17 08:37, Max Moebius via Cygwin wrote: > Hi Brian, and thank you very much for the response! > > We read the announcement and that's why we decided to kindly ask, if the > cygwin developers team would consider to make sure, that Windows Server > 2012 (NOT R2) will be supported by cygwin

Re: Can not stat file with utf char U+F020

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 22:17, Gionatan Danti via Cygwin wrote: > Il 2023-04-14 21:00 Corinna Vinschen ha scritto: > > There's no (good) solution from inside Cygwin. > > [snip] > > Yeah, I can only imagine how difficult is to be compatible with posix, win32 > and the likes. > > > Any chance you can just

Re: Can not stat file with utf char U+F020

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 22:21, Gionatan Danti via Cygwin wrote: > Il 2023-04-14 21:54 Brian Inglis ha scritto: > > UCSUR Under-ConScript Unicode Registry and its predecessor ConScript > > Unicode Registry CSUR > > > > https://www.kreativekorp.com/ucsur/ > > > > http://www.evertype.com/standards/csur/

Re: Can not stat file with utf char U+F020

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 13:54, Brian Inglis via Cygwin wrote: > On 2023-04-14 13:00, Corinna Vinschen via Cygwin wrote: > > On Apr 14 19:53, Gionatan Danti via Cygwin wrote: > > > [1] https://sourceware.org/legacy-ml/cygwin/2009-11/msg00043.html > > > While this patch would have

Re: Permissions question / issue

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 15:49, Eliot Moss via Cygwin wrote: > At present I have: > > $ getfacl id_rsa2 > # file: id_rsa2 > # owner: moss > # group: moss > user::rw- > group::--- > group:SYSTEM:r--#effective:--- > mask::--- > other::--- > > $ icacls id_rsa2 > id_rsa2 NULL SID:(DENY)(Rc,DC) >

Re: Permissions question / issue

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 15:43, Eliot Moss via Cygwin wrote: > On 4/14/2023 3:11 PM, Corinna Vinschen via Cygwin wrote: > > On Apr 13 23:03, Eliot Moss via Cygwin wrote: > > > Dear cygwin'ers - > > > > > > I seem to be caught in a bind with the Cygwin permissions setup.

Re: Permissions question / issue

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 13 23:03, Eliot Moss via Cygwin wrote: > Dear cygwin'ers - > > I seem to be caught in a bind with the Cygwin permissions setup. > > ssh insists that ~/.ssh/config have permissions no less permissive than > rw--- (600). Huh? No, it doesn't, usually. My file has perms rw-r--r--

Re: Can not stat file with utf char U+F020

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 19:53, Gionatan Danti via Cygwin wrote: > Dear list, > I have an issue with unreadable files with contain utf char U+F020 (which > appear as "middle dot with some space after") in their name. > > stat on such a file results in "no such file or directory" > > From here [1] it seems that

Re: pinfo build fails with undefined macro: AM_INTL_SUBDIR

2023-04-11 Thread Corinna Vinschen via Cygwin-apps
On Apr 11 09:21, Andrew Schulman via Cygwin-apps wrote: > I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, so I > know I was able to build it successfully a couple of years ago. But now when I > try, the build fails with > > error: possibly undefined macro:

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: MSG_MORE socket.h flag

2023-04-03 Thread Corinna Vinschen via Cygwin
On Apr 2 00:19, Chance via Cygwin wrote: > I've used cygwin in the past few years using the MSG_MORE flag when using > some socket functions I have no idea how you did that. MSG_MORE was never actually supported by Cygwin, and the (more or less) equivalent MSG_PARTIAL flag was never exposed

Re: newlocale: Linux incompatibility

2023-03-25 Thread Corinna Vinschen via Cygwin
On Mar 25 13:03, Brian Inglis via Cygwin wrote: > On 2023-03-25 05:49, Corinna Vinschen via Cygwin wrote: > It looks like /proc/locales contains the same content as produced by locale > -a? Yes, locale -a actually opens /proc/locales to read the locales from the Cygwin core, just as

Re: newlocale: Linux incompatibility

2023-03-25 Thread Corinna Vinschen via Cygwin
On Mar 25 13:03, Brian Inglis via Cygwin wrote: > On 2023-03-25 05:49, Corinna Vinschen via Cygwin wrote: > > On Mar 24 16:49, Brian Inglis via Cygwin wrote: > > I never heard about an environment variable called LANGUAGE. This is > > about LANG/LC_ALL/LC_whatever, so POS

Re: newlocale: Linux incompatibility

2023-03-25 Thread Corinna Vinschen via Cygwin
On Mar 24 16:49, Brian Inglis via Cygwin wrote: > On 2023-03-24 06:18, Corinna Vinschen via Cygwin wrote: > > > First, it's a bug in the Emacs testsuite. The test simply assumes that > > > there's no en_DE locale on any system, but that's just not true. > > > Windo

Re: newlocale: Linux incompatibility

2023-03-24 Thread Corinna Vinschen via Cygwin
On Mar 24 09:57, Ken Brown via Cygwin wrote: > On 3/24/2023 8:18 AM, Corinna Vinschen via Cygwin wrote: > > On Mar 23 22:14, Corinna Vinschen via Cygwin wrote: > > > On Mar 23 15:48, Ken Brown via Cygwin wrote: > > > > Consider the following test case: > &

Re: newlocale: Linux incompatibility

2023-03-24 Thread Corinna Vinschen via Cygwin
On Mar 23 22:14, Corinna Vinschen via Cygwin wrote: > On Mar 23 15:48, Ken Brown via Cygwin wrote: > > I'm reporting this here rather than the newlib list because the behavior is > > compatible with Posix but not Linux, so I think it's a Cygwin issue. > > Actually,

Re: newlocale: Linux incompatibility

2023-03-23 Thread Corinna Vinschen via Cygwin
On Mar 23 15:48, Ken Brown via Cygwin wrote: > I'm reporting this here rather than the newlib list because the behavior is > compatible with Posix but not Linux, so I think it's a Cygwin issue. Actually, it's a Windows issue :) > Consider the following test case: > > $ cat locale_test.c >

Re: Fwd: calm: cygwin package report for Ken Brown

2023-03-21 Thread Corinna Vinschen via Cygwin-apps
On Mar 20 23:17, Jon Turney via Cygwin-apps wrote: > On 20/03/2023 22:17, Ken Brown via Cygwin-apps wrote: > > It looks like my plan for having scallywag deploy all the TeX Live > > packages won't work (see below).  calm would have to be more permissive > > and allow deploying a package that

[ANNOUNCEMENT] csih 0.9.13-1

2023-03-18 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * csih-0.9.13-1 New: getVolInfo now prints all the latest known filesystem flags. CSIH (cygwin-service-installation-helper is a script library used to assist installing cygwin services, such as sshd. It is derived in part

csih 0.9.13-1

2023-03-18 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * csih-0.9.13-1 New: getVolInfo now prints all the latest known filesystem flags. CSIH (cygwin-service-installation-helper is a script library used to assist installing cygwin services, such as sshd. It is derived in part

[ANNOUNCEMENT] bsdgrep 2.6.0-1

2023-03-17 Thread Corinna Vinschen via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * bsdgrep-2.6.0-1 The FreeBSD versions of the commonly used grep utility, called bsdgrep. Bsdgrep searches through textual input for lines which contain a match to a specified pattern and then prints the matching lines. --

bsdgrep 2.6.0-1

2023-03-17 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * bsdgrep-2.6.0-1 The FreeBSD versions of the commonly used grep utility, called bsdgrep. Bsdgrep searches through textual input for lines which contain a match to a specified pattern and then prints the matching lines.

Re: grep rebuild?

2023-03-17 Thread Corinna Vinschen via Cygwin-apps
On Mar 17 10:03, Corinna Vinschen via Cygwin-apps wrote: > On Mar 16 18:50, Brian Inglis via Cygwin-apps wrote: > > On 2023-03-16 10:50, Brian Inglis via Cygwin-apps wrote: > > > On 2023-03-16 06:08, Corinna Vinschen via Cygwin-apps wrote: > > > > Hi Brian, >

<    1   2   3   4   5   6   7   8   >