[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemen

From: Peter Bex
Subject: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows
Date: Sat, 2 Aug 2014 15:10:12 +0200
User-agent: Mutt/

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.

Normally I'd say we should put this in stability, but if anyone out
there is (ab)using mkstemp by ignoring the FD and looking just at the
filename, that would prevent their code from functioning altogether,
so let's keep it safe and put it only in 4.10.0.


Attachment: 0001-Mark-file-mkstemp-as-unimplemented-on-Windows.patch
Description: Text document

reply via email to

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