[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimpl
From: |
Michele La Monaca |
Subject: |
Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows |
Date: |
Sun, 3 Aug 2014 15:20:50 +0200 |
Another twist. Basically the same patch but with a more robust path
manipulation strategy.
Regards,
Michele
On Sun, Aug 3, 2014 at 11:04 AM, Michele La Monaca
<address@hidden> wrote:
> On Sun, Aug 3, 2014 at 3:01 AM, Mario Domenech Goulart
> <address@hidden> wrote:
>> ...
>> If I understand correctly, at this point the code is subject to race
>> conditions, which is one of the things mkstemp prevents.
>
> Yes, actually a stupid one which can be avoided, I think. Attached a
> revisited patch which should avoid the problem. I also added a few
> sanity checks (some more may be needed). Unfortunately, I can't
> thoroughly test the code right now as I said.
>
> Regards,
> Michele
0001-fix-file-mkstemp-on-windows-bug-819.patch
Description: Binary data
Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows, Michele La Monaca, 2014/08/02
Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows, Peter Bex, 2014/08/03
Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows, Peter Bex, 2014/08/03
Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows, Evan Hanson, 2014/08/12
Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows, Peter Bex, 2014/08/16