From: <rb...@us...> - 2010-08-27 17:48:09
|
Revision: 5138 http://sashimi.svn.sourceforge.net/sashimi/?rev=5138&view=rev Author: rbs66 Date: 2010-08-27 17:48:03 +0000 (Fri, 27 Aug 2010) Log Message: ----------- Fixed function call where string length was passed instead of its entire possible size. Deleted a couple comments. Modified Paths: -------------- trunk/trans_proteomic_pipeline/src/Validation/ModelParser/ModelParser.cxx Modified: trunk/trans_proteomic_pipeline/src/Validation/ModelParser/ModelParser.cxx =================================================================== --- trunk/trans_proteomic_pipeline/src/Validation/ModelParser/ModelParser.cxx 2010-08-26 23:36:59 UTC (rev 5137) +++ trunk/trans_proteomic_pipeline/src/Validation/ModelParser/ModelParser.cxx 2010-08-27 17:48:03 UTC (rev 5138) @@ -391,8 +391,6 @@ char* filePath = new char[SIZE_FILE]; strcpy(filePath, xmlfile); - //filePath should be something like: c:/Inetpub/wwwroot/ISB/data/class/iProphet/xtandem/interact.iproph.pep.xml.a15956 - char* performPath = setFilePaths(filePath); removeOldFiles(filePath); @@ -586,8 +584,6 @@ int posData = distrData + 1; int negData = distrData + 2; - //assume filePath = c:Inetpub/wwwroot/ISB/data/class/iProphet/xtandem/interact.iproph.pep.xml.a##### - if(zoom) sprintf(pngFilePath, "%s.%ld.%dzoom.ISB.png", filePath, rnd, charge); else @@ -739,7 +735,7 @@ } //set up correct filePath - replace_path_with_webserver_tmp(filePath, strlen(filePath)); //do this in designated tmpdir, if any + replace_path_with_webserver_tmp(filePath, SIZE_FILE); //do this in designated tmpdir, if any //set up correct pngPath char* result = NULL; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |