On Sun, Aug 3, 2014 at 3:01 AM, Mario Domenech Goulart <[email protected]> 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
_______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
