Feature #142

Replace atoi and sscanf by fromString when it's possible

Added by kervala almost 10 years ago. Updated almost 8 years ago.

Status:Closed Start date:10/03/2008
Priority:Normal Due date:
Assignee:sfb % Done:

100%

Category:NeL: General
Target version:Version 0.7.0 Estimated time:2.00 hours

Description

Since fromString are pasing unit tests, we can use them instead of unsafe atoi and sscanf when it's possible.

History

#1 Updated by kervala almost 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r413.

#2 Updated by kervala almost 10 years ago

  • Assignee set to kervala

#3 Updated by sfb over 9 years ago

  • Status changed from Resolved to Assigned
  • Assignee changed from kervala to sfb

Re-opening this. There still are a lot of atoi calls.

#4 Updated by sfb almost 9 years ago

  • Status changed from Assigned to Closed

I hate the phrase 'good enough' but a lot of the calls that are left are in sensitive areas. I'm closing this.

#5 Updated by kervala almost 8 years ago

  • Project changed from NeL to Ryzom
  • Category deleted (Misc)
  • Target version deleted (Version 0.7.0)

#6 Updated by kervala almost 8 years ago

  • Category set to NeL: General
  • Target version set to Version 0.7.0

Also available in: Atom PDF