[med-svn] [aghermann] 35/85: load_profiles_from_location didn't correctly construct full path to profiles

andrei zavada hmmr-guest at alioth.debian.org
Thu Sep 26 23:46:27 UTC 2013


This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch master
in repository aghermann.

commit c1b39a09de7b90a5246df1510a71111dff2782e1
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sun Sep 15 02:24:53 2013 +0300

    load_profiles_from_location didn't correctly construct full path to profiles
---
 upstream/src/aghermann/expdesign/expdesign.hh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upstream/src/aghermann/expdesign/expdesign.hh b/upstream/src/aghermann/expdesign/expdesign.hh
index a4ed10a..dda8066 100644
--- a/upstream/src/aghermann/expdesign/expdesign.hh
+++ b/upstream/src/aghermann/expdesign/expdesign.hh
@@ -334,7 +334,7 @@ load_profiles_from_location( const string& subdir,
 {
         list<T> ret;
 
-        string location = ED.make_dirname( level, level_id);
+        string location = ED.make_dirname( level, level_id) + '/' + subdir;
 
         struct dirent **eps;
         int     total = scandir( location.c_str(), &eps, simple_scandir_filter, alphasort);

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git



More information about the debian-med-commit mailing list