String::doubleToStringWithDecPlaces is broken on OS 10.3.9


#1

String::doubleToStringWithDecPlaces() is broken under 10.3.9. Same app, compiled for 10.3, works under 10.4, not under 10.3.9.

I get an assert: assert (*t == 0);

I’m guessing CharacterFunctions::printf (buffer, bufSize, T("%.9g"), n) isn’t working, since if I make the function use the first branch it work fine.


#2

I think CharacterFunctions::vprintf is actually the problem

I chenged MACOS_10_2_OR_EARLIER to MACOS_10_3_OR_EARLIER and now everything seems happy.


#3

ok, good one. I’ll change that over.


#4