Re: [Mingw-w64-public] Fix mkstemp implementation

2016-03-02 Thread JonY
On 3/1/2016 20:42, Ismail Donmez wrote: > Hi, > > mingw-w64's current mkstemp implementation wrongly uses _O_TEMPORARY which > doesn't make sense. Here is a patch from openSUSE we apply to fix it: > Applied to master and v4.x. 0xD4EBC740.asc Description: application/pgp-keys signature.asc

Re: [Mingw-w64-public] Fix mkstemp implementation

2016-03-02 Thread Ismail Donmez
Dongsheng Song writes: > > On Wed, Mar 2, 2016 at 2:10 AM, İsmailDönmez i10z.com> wrote: > > I just tested the relevant Windows function _mkstemp_s > > (https://msdn.microsoft.com/en-us/library/t8ex5e91.aspx) and it does not > > remove the temp file on close. > > > > Also tested on Linux with

Re: [Mingw-w64-public] Fix mkstemp implementation

2016-03-01 Thread Dongsheng Song
On Wed, Mar 2, 2016 at 2:10 AM, İsmailDönmez wrote: > > Dongsheng Song writes: > > > On Tue, Mar 1, 2016 at 8:42 PM, Ismail Donmez pik7zc4d...@public.gmane.org> wrote:Hi, > > mingw-w64's current mkstemp implementation wrongly uses _O_TEMPORARY > which > > doesn't make sense. Here is a patch from

Re: [Mingw-w64-public] Fix mkstemp implementation

2016-03-01 Thread İsmailDönmez
Hi, Dongsheng Song writes: > > > On Tue, Mar 1, 2016 at 8:42 PM, Ismail Donmez wrote:Hi, > mingw-w64's current mkstemp implementation wrongly uses _O_TEMPORARY which > doesn't make sense. Here is a patch from openSUSE we apply to fix it: > From: Jan Engelhardt > Date: 2015-03-31 18:57:45.88

Re: [Mingw-w64-public] Fix mkstemp implementation

2016-03-01 Thread Ruben Van Boxem
2016-03-01 15:25 GMT+01:00 Dongsheng Song : > > On Tue, Mar 1, 2016 at 8:42 PM, Ismail Donmez wrote: > >> Hi, >> >> mingw-w64's current mkstemp implementation wrongly uses _O_TEMPORARY which >> doesn't make sense. Here is a patch from openSUSE we apply to fix it: >> >> From: Jan Engelhardt >> Da

Re: [Mingw-w64-public] Fix mkstemp implementation

2016-03-01 Thread Dongsheng Song
On Tue, Mar 1, 2016 at 8:42 PM, Ismail Donmez wrote: > Hi, > > mingw-w64's current mkstemp implementation wrongly uses _O_TEMPORARY which > doesn't make sense. Here is a patch from openSUSE we apply to fix it: > > From: Jan Engelhardt > Date: 2015-03-31 18:57:45.887248277 +0200 > References: htt

[Mingw-w64-public] Fix mkstemp implementation

2016-03-01 Thread Ismail Donmez
Hi, mingw-w64's current mkstemp implementation wrongly uses _O_TEMPORARY which doesn't make sense. Here is a patch from openSUSE we apply to fix it: From: Jan Engelhardt Date: 2015-03-31 18:57:45.887248277 +0200 References: https://sourceforge.net/p/mingw-w64/bugs/471/ When closing the file ha