From 94d85efaf49a7379f54d342c0eebcea8f1524976 Mon Sep 17 00:00:00 2001 From: Christian Beckmann <c.beckmann@donders.ru.nl> Date: Fri, 14 Apr 2006 12:08:42 +0000 Subject: [PATCH] *** empty log message *** --- meldata.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meldata.cc b/meldata.cc index a735d8b..362313f 100644 --- a/meldata.cc +++ b/meldata.cc @@ -643,10 +643,10 @@ namespace Melodic{ read_volume4D(old_dof,opts.glmcleanup.value() + "/stats/sigmasquareds"); Matrix tmpmat; tmpmat = read_ascii_matrix(opts.glmcleanup.value() + "/stats/dof"); - char callRMstr[1000]; - ostrstream osc(callRMstr,1000); - osc << "mv " << opts.glmcleanup.value() << "/stats/dof " << opts.glmcleanup.value() << "/stats/old_dof " <<'\0'; - system(callRMstr); + + ostringstream osc; + osc << "mv " << opts.glmcleanup.value() << "/stats/dof " << opts.glmcleanup.value() << "/stats/old_dof "; + system(osc.str().c_str()); old_dof = old_dof * 0 + tmpmat(1,1); } -- GitLab