On 04/12/2010, at 9:02 PM, Erick Tryzelaar wrote:

> On Sat, Dec 4, 2010 at 1:53 AM, Erick Tryzelaar <eri...@felix-lang.org> wrote:
>> 
>> The problem is that src/rtl/flx_ioutil.cpp's "load_file(FILE *fi)" is
>> calling fclose on the input file. Removing the fclose fixes this
>> problem, but I'm not sure if this will cause file descriptor leaks
>> elsewhere.
>> 
> 
> On the plus side this does fix the concurrent test issue we were having.



The minus side is that popen() isn't portable : not available Windows, whereas
system() command is.

The other solution is also a problem: use a temporary filename.
I need that anyhow, I can't figure out how to do it at the moment:
the posix function is ridiculous crud: Windows handles this much better
bu the techniques are completely different.

Basically my current goal is to be able to do:

@exec_felix filename

and have that replaced by the output, or perhaps show the code AND
the output, and/or diff it with the expect file ...

This basically gets rid of the need for interscript for the tutorial.

If the code is inline .. I need a temporary filename!


--
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

Reply via email to