|
From: Donal K. F. <don...@ma...> - 2008-11-20 16:29:09
|
Techentin, Robert wrote: > As far as an implementation goes, I don't know how to handle systems > that don't supply mkstemp(). (That was the main reason I stopped pusing > four years ago.) My MSDN V6 documentation tells me that MS Windows > doesn't have that function. I'm sure there are other systems supported > by Tcl that don't have mkstemp() available. How do you handle that? Right now, we only support POSIX and Win. (In this respect, OSX is POSIX, which is good.) With POSIX, we cam use mkstemp() or mkstemps(). Windows is rather lacking in this area, and one has to fall back on a combination of GetTempFileName, GetTempPath, and CreateFile. Donal. |