On 05/12/2010, at 3:39 PM, Erick Tryzelaar wrote: > Sent from my iPhone
I have trouble with the sucky KB on my MacbookPro .. I have no idea how you can even hit a key on an iPhone .. :) >> >> No I can't, because the stupid template has to end in XXXXXX and not >> *.cpp or *.flx or whatever that I require. It's probably easier to just use >> the process ID plus rand() function :) > > True, or you could just rename the temp file. :) mkstemp doesn't > remove the file when you close the fd, so you can do whatever you want > to the file when you finish writing to it. Well sure, I could just close it immediately, then reopen it with fopen, but it, well, sucks, to do an operation on the filesystem just to get a unique name just because Posix is too stupid to put the random bit inside the filename. The other stupidity is not being able to choose a temp directory to put the file in automatically: who knows if /tmp even exists? -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language