dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10208
Re: buildbot failure in linux_64
Anders Logg <logg@xxxxxxxxx> 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.
Attachment:
jobh-20081020-tempfiles.bundle
Description: hg bundle
References