On Tue, 14 Jun 2011, Lucas De Marchi wrote:
> On Tue, Jun 14, 2011 at 10:18 AM, Carsten Haitzler <ras...@rasterman.com> > wrote: >> On Tue, 14 Jun 2011 09:11:22 -0300 Lucas De Marchi >> <lucas.demar...@profusion.mobi> said: >> >>> On Tue, Jun 14, 2011 at 3:57 AM, Carsten Haitzler <ras...@rasterman.com> >>> wrote: >>>>> So, the easiest fix (and cleanest in my POV) would be the patch below >>>>> (untested); >>>> >>>> i don't see how this fixes vtoprri's problem. the mkstemp followed by an >>>> fopen >>> >>> vtorri said: >>> "On windows, using open() followed by fopen() does not work." >>> >>> The only reason this might happen is because the fd is left open. If >>> you close it you can open the file again later. >> >> "reason it MIGHT happen". we don't know though :) > > Let's make a bet? I pay you a beer if I'm proved wrong ;-). Of course > Vincent's statement about "open() followed by fopen() does not work on > Windows" needs to be true I've tested with a small test case of 5 lines before sending the patch :-) > and he needs to test my code since I don't > have any windows machine available. I'll test it. Vincent ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel