[ET Trac] [Einstein Toolkit] #1525: cannt use environment variables in non-stringy parameters
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Jan 22 14:59:09 CST 2014
#1525: cannt use environment variables in non-stringy parameters
---------------------+------------------------------------------------------
Reporter: rhaas | Owner: sbrandt
Type: defect | Status: reopened
Priority: minor | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
---------------------+------------------------------------------------------
Changes (by rhaas):
* status: review => reopened
Comment:
The patch lets me use ENV variables. However it also accepts:
{{{
TERMINATE_NEXT=no RUNTIME="12 aa" TERMINATE=never RUNTITLE=test
~/data/postdoc/gr/Zelmani/exe/cactus_null env.par
}}}
where I added some extra characters " aa" at the end of the number. It
should in this case fail. In C one can use the endptr argument of strtod,
I C++ I do not know.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1525#comment:5>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list