#5731 closed defect (fixed)
Make GDAL unsensitive to LC_NUMERIC for floating point <--> string conversions
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.0 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | locale floating point |
Cc: |
Description
We are currently sensitive to LC_NUMERIC in all places using atof(), strtod(), sscanf("...%Lf..."), xxprintf("%..f/g").
This ticket is to track an effort to reduce to nearly zero those places. We can already do atof() -> CPLAtof(), strtod() -> CPLStrtod(). So introduce CPLsscanf() and CPLxxxprintf().
Change History (8)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
comment:6 by , 10 years ago
comment:7 by , 10 years ago
Milestone: | → 2.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
trunk r27942 "Global conversion to using floating point <--> string functions insensitive to LC_NUMERIC (#5731)"