[Clam-devel] Aggregator
JunJun
wangjun at dsp.ac.cn
Fri Jul 25 01:54:14 PDT 2008
> In Annotator::computeSongDescriptors the difference between the conditional
> branches is that you add the "-c "+configfile in one side and not in the
> other.
> So if you put just:
> std::string configurationOption;
> if (mProject.Config()!="")
> configurationOption = "-c "+mProject.GetConfig();
> then you can keep the code as it was before just apending configurationOption.
yea, nice tricks.
Just one point to report, the BLANK after that -c annoys me a lot. It causes the sys.stderr, "Bad Configuration File!". I think you used to meet with the same problem. Anyway, I delete that BLANK (change "-c " into "-c"), and the command line seems ugly but it works.
More information about the clam-devel
mailing list