Linus Torvalds 2d1d78ebfe const'ify our strtod() helper functions
The C library doesn't use const char pointers for legacy reasons (and
because you *can* modify the string the end pointer points to), but
let's do it in our internal implementation just because it's a nice
guarantee to have.

We actually used to have a non-const end pointer and replace a decimal
comma with a decimal dot, but that was because we didn't have the fancy
"allow commas" flags.  So by using our own strtod_flags() function, we
can now keep all the strings we parse read-only rather than modify them
as we parse them.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-01-08 16:38:47 +08:00
..
2013-11-29 12:11:12 -08:00
2013-12-04 15:49:55 -08:00
2013-12-26 08:42:20 -08:00
2013-12-20 09:53:04 -08:00
2013-10-15 04:37:31 -07:00
2014-01-03 10:30:09 -08:00
2013-11-30 12:01:32 -08:00