Bugs item #3046151, was opened at 2010-08-16 12:31 Message generated for change (Tracker Item Submitted) made by jbrefort You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3046151&group_id=40728
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: File Translation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jean Brfort (jbrefort) Assigned to: Nobody/Anonymous (nobody) Summary: locale issue Initial Comment: When a conversion is run from a C program, some formats use the main procram locale instead of the "C" locale. The XYZ format uses snprintf which does seem to use the global locale which results in bad output (with commas) like: 3 c3 C 4,20000 -0,41000 0,00000 C 4,20000 0,99000 0,00000 C 5,41244 0,29000 0,00000 The easy solution seems to replace sscanf and snprintf with istringstream and ostringstream based equivalents. Of course, this might also be a glibc bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3046151&group_id=40728 ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ OpenBabel-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbabel-devel
