summaryrefslogtreecommitdiffstats
path: root/core/strndup.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-08 19:37:27 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitac1602f5125caae322e3e819a7c622b0be9feca1 (patch)
treebb29bcd5168c7a2f156bee69bc615e0e62f10573 /core/strndup.h
parenta2be015a43b9d0de710539ee3838bb3aafe6bb2c (diff)
downloadsubsurface-ac1602f5125caae322e3e819a7c622b0be9feca1.tar.gz
Dive site: ensure that no two dive sites have same UUID
We absolutely want to avoid dive site with the same UUID. But that could happen when reimporting a log where the dive sites diverged. Therefore, on adding a dive site to a table, change the UUID if it already exists. Since dives are associated to dive sites with pointers, this should have no negative impact. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/strndup.h')
0 files changed, 0 insertions, 0 deletions