On Sat, Aug 2, 2014 at 3:10 PM, Peter Bex <[email protected]> wrote: > Hi all, > > This is an old bug and I think it's a good idea to remove file-mkstemp > from the Windows version of the posix unit. It's been broken from the > beginning, and nobody noticed. Maybe nobody is using it (I hope!), but > it could also be that people are using it and expecting it to return > sensible values. > > In any case, I opted for removing it because this is just extremely > tricky to get right. We're better off removing it than keeping the > broken version, so if you prefer to keep the procedure and want to > do it properly, please write a proper patch.
I think this function is too important to be dismissed so easily. Attached an implementation which gets rid of the limited mktemp function. Actually a quick untested hack (I don't have access to a mingw setup right now) but I hope a step in the right direction. Regards, Michele
0001-fix-file-mkstemp-on-windows-819.patch
Description: Binary data
_______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
