URL: <http://gna.org/bugs/?21015>
Summary: Harmless errors in city report sorting Project: Freeciv Submitted by: jtn Submitted on: Sat Aug 10 21:04:31 2013 Category: client Severity: 2 - Minor Priority: 5 - Normal Status: In Progress Assigned to: jtn Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: Any Planned Release: 2.3.5,2.4.1,2.5.0,2.6.0 _______________________________________________________ Details: Spotted in passing: 0 The code to split report cells into lists of alternating strings and numbers duplicated strings (e.g., "Foo (30/60)" was split as ["Foo (", 30.0, "30/", 60.0, "60)"]. This didn't matter as the list was only ever used for sorting, I think, so the error made no difference. 0 While I'm in there, may as well check the errno return from strtof() and treat anything giving an error (probably ERANGE) as not being a number. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?21015> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev