> So, I checked the new revision, one correction (and one question): > Method OBLocale::RestoreLocale() - my idea was to have only "free()" > thrown out on Android because d->old_locale_string is a static string.
Done. > such as "C" to old_locale_string in SetLocale()? It's working for me, > but after some thinking I got to wonder if the stack for SetLocale() > might not get freed along with the location to which old_locale_string That would only happen if the entire object is freed. At that point, you would not be able to call RestoreLocale(). -Geoff ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel