chicken-hackers
[Top][All Lists]
Advanced

[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

Attachment: 0001-fix-file-mkstemp-on-windows-bug-819.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]