Re: [Mingw-w64-public] invalid O_WRONLY read sets errno=EACCES instead of EBADF

2022-09-14 Thread Michel Zou
@lists.sourceforge.net; Michel Zou Subject: Re: [Mingw-w64-public] invalid O_WRONLY read sets errno=EACCES instead of EBADF 在 2022/9/13 14:42, Michel Zou 写道: > > If I try to run the generated binaries from arch (mingw 10.0.0) on win10 I > got the same errno=13, > so I dont think it comes from wine.

Re: [Mingw-w64-public] invalid O_WRONLY read sets errno=EACCES instead of EBADF

2022-09-13 Thread Michel Zou
If I try to run the generated binaries from arch (mingw 10.0.0) on win10 I got the same errno=13, so I dont think it comes from wine. From: LIU Hao Sent: Tuesday, September 13, 2022 1:25 AM To: mingw-w64-public@lists.sourceforge.net ; Biswapriyo Nath

Re: [Mingw-w64-public] invalid O_WRONLY read sets errno=EACCES instead of EBADF

2022-09-09 Thread Michel Zou
What version do you use ? I use mingw-w64 10.0.0 on arch and 7.0.0 on ubuntu focal. Maybe its fixed in some git version ? From: Biswapriyo Nath Sent: Friday, September 9, 2022 5:50 PM To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public]

[Mingw-w64-public] invalid O_WRONLY read sets errno=EACCES instead of EBADF

2022-09-09 Thread Michel Zou
Hello, I noticed that an incorrect read from a file in write-only mode can result in errno to be set to EACCES instead of EBADF that is yield on linux , msvc or macos. Here is a small reproducer: https://gist.github.com/xantares/23dc23776aee9d867223f376b6fa9809 I use latest mingw on arch, but

[Mingw-w64-public] where is the strftime code ?

2022-01-14 Thread Michel Zou
Hello, I wanted to see if I could patch strftime to handle the %V type character, but I could only find the prototypes for that function in the code, what am I missing ? see also https://sourceforge.net/p/mingw-w64/bugs/793/ ___ Mingw-w64-public

Re: [Mingw-w64-public] patch: add timeapi.h

2022-01-02 Thread Michel Zou
Ok, here is an amended version of the patch. From: LIU Hao Sent: Sunday, January 2, 2022 6:01 AM To: mingw-w64-public@lists.sourceforge.net ; Michel Zou Subject: Re: [Mingw-w64-public] patch: add timeapi.h 在 1/1/22 5:21 PM, Michel Zou 写道: > diff --git a/mi

[Mingw-w64-public] add ERROR_COMMITMENT_MINIMUM

2022-01-01 Thread Michel Zou
hi again, here is a patch to add a missing error enum value From f1df4612417fc006f479e71ac1ebc6a70d6fee11 Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Sat, 1 Jan 2022 11:28:45 +0100 Subject: [PATCH] add ERROR_COMMITMENT_MINIMUM --- mingw-w64-headers/include/winerror.h | 1 + 1 file changed

[Mingw-w64-public] patch: add timeapi.h

2022-01-01 Thread Michel Zou
hi, here is a patch to add timeapi.h. everything seems to be already available in mmsystem.h, so just include that. From f036ac183f91fb0ad7ff17cd5872f45e1ea7b8b4 Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Sat, 1 Jan 2022 10:16:11 +0100 Subject: [PATCH] add timeapi.h --- mingw-w64

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-12-16 Thread Michel Zou
Hi, It turns out that these are inline functions, here is a new patch. xan From: Michel Zou Sent: Monday, August 9, 2021 5:18 PM To: LIU Hao ; mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] patch to add htonll/ntohll I have no idea, I

[Mingw-w64-public] pahole-like alignment info tool ?

2021-11-21 Thread Michel Zou
Hi, I'm wondering if there is a tool that can retrieve alignment information from a mingw object file (PCOFF) like pahole which only handles ELF files: $ pahole -C zink_rasterizer_hw_state build/src/gallium/drivers/zink/libzink.a.p/zink_surface.c.o struct zink_rasterizer_hw_state {

Re: [Mingw-w64-public] patch to add MFTranscodeContainerType guids

2021-10-14 Thread Michel Zou
is generated from mfidl.idl file using widl. Hence those GUIDs have to be added in mfidl.idl file. If there is any problem I can send an updated patch file. From bc54eec5229b486937b04d1a9d0e3e027a44027e Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Thu, 14 Oct 2021 08:46:34 +0200 Subject: [PATCH

Re: [Mingw-w64-public] patch to add MFTranscodeContainerType guids

2021-10-13 Thread Michel Zou
From: Michel Zou Sent: Wednesday, October 13, 2021 4:30 PM To: mingw-w64-public@lists.sourceforge.net Subject: patch to add MFTranscodeContainerType guids Hello, I have a patch for missing guids in mfidl.h. It is based on info from https://sourceforge.net/p

[Mingw-w64-public] patch to add MFTranscodeContainerType guids

2021-10-13 Thread Michel Zou
Hello, I have a patch for missing guids in mfidl.h. It is based on info from https://sourceforge.net/p/mingw-w64/bugs/795/ What do you think ? ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-08-09 Thread Michel Zou
I have no idea, I removed them if you think its unavailable. From: LIU Hao Sent: Monday, August 9, 2021 5:02 PM To: Michel Zou; mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] patch to add htonll/ntohll 在 2021-08-09 21:20, Michel Zou 写道

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-08-09 Thread Michel Zou
From: LIU Hao Sent: Monday, August 9, 2021 12:58 PM To: mingw-w64-public@lists.sourceforge.net; Michel Zou Subject: Re: [Mingw-w64-public] patch to add htonll/ntohll 在 8/9/21 8:48 PM, Michel Zou 写道: > @@ -1018,6 +1019,7 @@ typedef unsigned int GR

[Mingw-w64-public] patch to add htonll/ntohll

2021-08-09 Thread Michel Zou
Hello list, I tried to add the missing htonll/ntohll functions with the others, but I don't know if this is correct. Could someone look a this patch ? xan diff --git a/mingw-w64-crt/lib-common/ws2_32.def.in b/mingw-w64-crt/lib-common/ws2_32.def.in index b49c4b87d..1f9a2077b 100644 ---

Re: [Mingw-w64-public] Announcing v7.0.0

2019-11-10 Thread Michel Zou
Hi, The tarballs still contain a mingw-w64-v6.0.0 folder, this breaks my packaging scripts. Could you check that it's the right version ? xan ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

[Mingw-w64-public] status of mingw-w64 v5 ?

2016-09-05 Thread Michel Zou
Hello, I noticed there were two release candidates of mingw-w64: 5.0rc1 and 5.0rc2 before spring, but no final 5.0.0 tag since then. May I ask why ? -- ___ Mingw-w64-public

[Mingw-w64-public] unimplemented function libstdc++-6.dll._ZNSt8ios_base4InitC1Ev

2016-05-24 Thread Michel Zou
Hello list, Since the update to gcc 6.1 in archlinux , running a 32-bits mingw-w64 executable using iostream fails in wine with the message "unimplemented function libstdc++-6.dll._ZNSt8ios_base4InitC1Ev" (std::ios_base::Init::Init()) #include int main() { std::cout << "Mo: " << 8.6 <<

Re: [Mingw-w64-public] gcc 5.2.1 libgomp testsuite failures with latest runtime and winpthread

2015-09-11 Thread Michel Zou
You can ping the gcc dudes instead ! https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67141 > Date: Fri, 11 Sep 2015 09:54:16 +0200 > From: sf.rai...@emrich-ebersheim.de > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] gcc 5.2.1 libgomp testsuite failures with > latest