On rare and erratic times I'm seeing an stoi fault when starting, resulting in
an abort. A second attempt *always* succeeds.

These days we have a mixture of stoi and the older string2int function that Cal
set up. The latter returns zero for invalid strings rather than faulting.

The 'correct' thing to do is of course to track down the error, but seeing as I
restart Yoshimi many times a day, and this might take weeks to show up I don't
have any enthusiasm for that!

Would it be acceptable to just do a bulk swap of stoi to string2int?

-- 
Will J Godfrey



_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to