summaryrefslogtreecommitdiffstats
path: root/linux.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-07 13:50:53 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-07 13:50:53 -0800
commite47e37e5a6eb5e4d1386d4b7f02d9997e22b39f1 (patch)
tree82747e29017b69e7a2db1d0f4f58a9ea25c4d674 /linux.c
parente6afd055d870d677dd0edf243bc2f42ab0a2fbd1 (diff)
downloadsubsurface-e47e37e5a6eb5e4d1386d4b7f02d9997e22b39f1.tar.gz
Add bailout code to prevent infinite loop in deco calculation
This appears to happen if we have impossible dive sequences in the dive_list (i.e., merging XML files from two different divers with overlapping trips). We need to fix the underlying cause for this issue (i.e., only pick the 'right' dives to calculate the residual tissue saturation), but at least this code prevents the hang in an infinite loop. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'linux.c')
0 files changed, 0 insertions, 0 deletions