diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-15 10:44:43 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-08-15 10:44:43 +0200 |
commit | ce049dcda4a9d0c9a44667ca82bc9e21d7ea7748 (patch) | |
tree | f23d8625994d8d4245d0ae0e5c1cd1e45623ced8 /src/hostname | |
parent | 2301cb9fdb774d0a1b3d8f5e95c5d358721ccacb (diff) |
test: fix strtod() test
One strtod() test is broken since:
commit 8e211000025940b770794abf5754de61b4add0af
Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
Date: Mon Aug 4 23:13:31 2014 +0200
test: use fabs on doubles
The commit was right, so no reason to revert it, but the test was broken
before and only worked by coincidence. Convert "0,5" to "0.5" so we don't
depend on locales for double conversion (or well, we depend on "C" which
seems reasonable).
Diffstat (limited to 'src/hostname')
0 files changed, 0 insertions, 0 deletions