Re: [Mingw-w64-public] winpthreads: a few more header file cleanups

2025-02-19 Thread Kirill Makurin
Sorry, I forgot to attach patches. From: Kirill Makurin Sent: Thursday, February 20, 2025 2:33 AM To: mingw-w64-public Subject: winpthreads: a few more header file cleanups Patch 1: remove old, commented out typedef for `pthread_t`. Patch 2: move `SIG_BLOCK`, `S

[Mingw-w64-public] winpthreads: a few more header file cleanups

2025-02-19 Thread Kirill Makurin
Patch 1: remove old, commented out typedef for `pthread_t`. Patch 2: move `SIG_BLOCK`, `SIG_UNBLOCK` and `SIG_SETMASK` from pthread.h to pthread_signal.h. Also include pthread_signal.h from pthread.h when compiling with MSVC. Please note that pthread_signal.h is also included from mingw-w64's s

Re: [Mingw-w64-public] dirent changes

2025-02-19 Thread Lasse Collin
On 2025-02-18 Pali Rohár wrote: > On Tuesday 18 February 2025 23:32:54 Lasse Collin wrote: > > With one partition, opendir fails with EIO, and GetLastError returns > > ERROR_UNRECOGNIZED_VOLUME (1005). That seems to mean that there's no > > recognized file system. I don't know if that error code sh

Re: [Mingw-w64-public] make sure WINPTHREAD_API is correctly defined in pthread_time.h

2025-02-19 Thread LIU Hao
在 2025-02-19 22:48, Kirill Makurin 写道: Make executes each line of a recipe in a new shell and we need to pass the whole recipe in a single shell invocation, so that's the point of `;\`. I could align slashes to make it more readable. I think using `printf %s` instead of `echo` is less likely to

Re: [Mingw-w64-public] make sure WINPTHREAD_API is correctly defined in pthread_time.h

2025-02-19 Thread Kirill Makurin
Make executes each line of a recipe in a new shell and we need to pass the whole recipe in a single shell invocation, so that's the point of `;\`. I could align slashes to make it more readable. I think using `printf %s` instead of `echo` is less likely to lead to *surprises*, never hurts to be