Anders Logg <[EMAIL PROTECTED]> writes: > Yes, this is definitely the source of the .xml and .py files (which > are generated in order to call Viper from Python from C++). I'll add > the patch from Joachim.
It still leaves droppings in /tmp; there is some copy-paste code in plot.cpp it seems, so that "patch" applied in several places. On closer inspection it turned out to have more problems, including win-specific fixes only applied to one of the similar functions, and more importantly a security issue (execution of an insecure temp file). So here's what I think is a proper fix, but please look it over before applying. Lightly tested only. The secure_tmp_filename function could maybe be moved to a general place, for use by other code. -j.
jobh-20081020-tempfiles.bundle
Description: hg bundle
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
