diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-23 12:09:29 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-23 12:55:37 -0800 |
commit | aac44f9b0740726dd9d8cc9cce80b2e99626d0e1 (patch) | |
tree | 4f8548cd95b2a22e538a1fea439848a88c63e22b /main.c | |
parent | b6c9301e584722b9b46dffd4d759e8c60df520ad (diff) | |
download | subsurface-aac44f9b0740726dd9d8cc9cce80b2e99626d0e1.tar.gz |
Remove XML parsing special case temperature code
We had various hacky historical artifacts in our XML parsing, partly
from our legacy of parsing integer and floating point data separately
(we used to recognize certain import format differences based on whether
the data was in a floating point or integer format). And partly from
trying to do a good job of importing crap from other dive log software.
Anyway, that actually meant that we refused to parse negative numbers,
and we ignored temperatures of zero because some diving log would do
that for missing values.
Both of these actually bit us when parsing our native XML. Of course,
only crazy ice divers would ever notice.
Noticed by Henrik Brautaset Aronsen.
Reported-acked-and-tested-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions