Cygwin 3.7 wishlist: read/write NTFS alternate data streams via openat(O_XATTR)

2025-03-24 Thread Martin Wege via Cygwin
Hello, another wishlist entry (old one): read/write NTFS alternate data streams via openat(O_XATTR) Opening individual streams might be easy, as Corinna pointed out that cygwin_attach_handle_to_fd() can be used for that (i.e. open stream, and attach handle to fd via cygwin_attach_handle_to_fd()),

two bugs in getlocalename_l

2025-03-24 Thread Bruno Haible via Cygwin
Hi, It's good to see the addition of getlocalename_l from POSIX [1] in Cygwin 3.6.0. [1] https://pubs.opengroup.org/onlinepubs/9799919799/functions/getlocalename_l.html However, there are two bugs: 1) If the second argument is LC_GLOBAL_LOCALE, the return value is garbage. How to reproduce:

Re: SIGSEGV handling and stack overflow handling broken in Cygwin 3.6.0

2025-03-24 Thread Takashi Yano via Cygwin
On Mon, 24 Mar 2025 13:26:27 +0100 Bruno Haible wrote: > Hi, > > Gnulib contains a few unit tests for > - SIGSEGV handling, > - stack overflow handling (via signal SIGSEGV or SIGBUS). > > In Cygwin 3.4.6, SISGEGV handling was fine, and stack overflow handling > worked at least for the first s

Re: two bugs in getlocalename_l

2025-03-24 Thread Corinna Vinschen via Cygwin
On Mar 24 14:12, Bruno Haible via Cygwin wrote: > Hi, > > It's good to see the addition of getlocalename_l from POSIX [1] in Cygwin > 3.6.0. > > [1] > https://pubs.opengroup.org/onlinepubs/9799919799/functions/getlocalename_l.html > > However, there are two bugs: > > > - "If > the val

sqlite 3.49.1-1 package bug changing return types signedness

2025-03-24 Thread Matthias Andree via Cygwin
Hi @Jan Nijtmans, thank you very much for updating the Cygwin package to 3.49.1. I would like to ask you to stop changing API return types, such as the one here, where your patch converts the sqlite3_column_bytes return from int to unsigned int. This is from sqlite3-3.49.1-1's patch -SQLITE_API

Re: Deadlock when calling pthread_key_create in the destructor of a pthread_key

2025-03-24 Thread Brian Inglis via Cygwin
On 2025-03-23 10:07, Yuyi Wang wrote: Seems that my email username might make someone confused. I'm @Berrysoft, and the maintainer of cygwin target of rustc. That sound interesting and very welcome. As usual in these cases: see below: Problem reports: https://cygwin.com/problems.

SIGSEGV handling and stack overflow handling broken in Cygwin 3.6.0

2025-03-24 Thread Bruno Haible via Cygwin
Hi, Gnulib contains a few unit tests for - SIGSEGV handling, - stack overflow handling (via signal SIGSEGV or SIGBUS). In Cygwin 3.4.6, SISGEGV handling was fine, and stack overflow handling worked at least for the first stack overflow. In Cygwin 3.5.6, SISGEGV handling was fine, but stack o