Indeed, I am agree with Alfredo on this issue. Therefore I have attached another patch which uses string() for comparison. Use whichever you think is best.
+ string suffix(name,1); + string pars; + for(pariter = parlist.begin(); pariter != parlist.end(); pariter++) { + size_type par = (*pariter).find(suffix); + if(par!=string::npos) { + if (!pars.empty()) + pars += ", "; + pars += (*pariter); + } + } At least in this file, it usually uses if (contains(*pariter, suffix)) Cheers, Bo