Re: posix_spawn facility

2023-04-19 Thread Csaba Raduly via Cygwin
On Wed, 19 Apr 2023 at 13:56, Bruno Haible via Cygwin wrote: > Note a typo: line 126541 is on page 3694 not on page 3594. > That sentence is scary in and of itself :) Csaba -- You can get very substantial performance improvements by not doing the right thing. - Scott Meyers, An Effective C++11/

Re: Installing/upgrading only NOARCH packages.

2023-04-19 Thread Brian Inglis via Cygwin
On 2023-04-19 05:30, Carlo B. via Cygwin wrote: after the 32-bit port of CYGWIN has been obsoleted, I was looking for a way for installing or upgrading the NOARCH packages, like the libraries for the mingw cross compilers for example. Unfortunately, I have not found an existing way for doing it.

[ANNOUNCEMENT] Test: octave-8.1.0-1

2023-04-19 Thread Marco Atzeri via Cygwin-announce via Cygwin
Test versions 8.1.0-1 of octave octave-devel octave-doc are available in the Cygwin distribution: When the octave subpackage will also be rebuild and available it will move to stable. CHANGES Latest upstream release. https://octave.org/news/release/2023/03/07/octave-8.1.0-released.html

[ANNOUNCEMENT] Updated: less-608-1

2023-04-19 Thread Marco Atzeri via Cygwin-announce via Cygwin
New version 608-1 of less is available in the Cygwin distribution CHANGES Last upstream release http://www.greenwoodsoftware.com/less/ DESCRIPTION Less is a free, open-source file pager. It can be found on most versions of Linux, Unix and Mac OS, as well as on many other operating systems.

Re: posix_spawn_file_actions_add[f]chdir_np

2023-04-19 Thread Eliot Moss via Cygwin
A wondering in all this ... Does having more spawn support imply that bash (for example) may end up doing faster process spawning, skipping some of high overhead we've lived with for a long time because of the Windows process spawning model? Regards - Eliot Moss -- Problem reports: https:/

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: > > if (fd < 0) return EBADF; > > -

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: > > > > https://cygw

RE: Cygwin 'cp' command is still slow after Cygserver is installed

2023-04-19 Thread Derek Pagel via Cygwin
Looks like the ACL has not been written, so the incoming ACEs are still being looked up (and/or maybe inherited)? Where was that file moved from and what were the files' permissions and ACLs before and after? Anyone know what execute permission *a* means? -rwxrwxrwa [above]

Re: Installing/upgrading only NOARCH packages.

2023-04-19 Thread Jon Turney via Cygwin
On 19/04/2023 12:30, Carlo B. via Cygwin wrote: Hello, after the 32-bit port of CYGWIN has been obsoleted, I was looking for a way for installing or upgrading the NOARCH packages, like the libraries for the mingw cross compilers for example. Unfortunately, I have not found an existing way for doi

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

2023-04-19 Thread Gionatan Danti via Cygwin
Il 2023-04-19 03:10 L A Walsh ha scritto: I'm a bit confused as to what char you are trying to access/use, as U+F020 is in the Private Use area (PUA) Since it's in the PUA, it seems its meaning could differ by application/OS/User, no? I.e. have no set definition I mean you can use it in Cygwin

Re: posix_spawn facility

2023-04-19 Thread Bruno Haible via Cygwin
Eric Blake wrote: > POSIX issue now filed as > https://www.austingroupbugs.net/view.php?id=1674 Thank you very much! Note a typo: line 126541 is on page 3694 not on page 3594. Bruno -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Docum

Installing/upgrading only NOARCH packages.

2023-04-19 Thread Carlo B. via Cygwin
Hello, after the 32-bit port of CYGWIN has been obsoleted, I was looking for a way for installing or upgrading the NOARCH packages, like the libraries for the mingw cross compilers for example. Unfortunately, I have not found an existing way for doing it. Is it possible to do it? Otherwise, I'm se

Re: posix_spawn_file_actions_add[f]chdir_np

2023-04-19 Thread Bruno Haible via Cygwin
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: > > https://cygwin.com/cgit/newlib-cygwin/commit/?id=7e03fc35f528 Yes, it's pretty strai

Re: posix_spawn facility

2023-04-19 Thread Bruno Haible via Cygwin
I wrote: > * posix_spawn_file_actions_addfchdir_np > implemented in glibc, musl libc Correction: posix_spawn_file_actions_addfchdir_np is implemented in glibc, musl libc, FreeBSD ≥ 13.1, macOS ≥ 10.15. Bruno -- Problem reports: https://cygwin.com/problems.html FAQ:

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, Chromiu

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