diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-19 14:11:37 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-19 15:23:46 -0800 |
commit | 4a550e4d7d5ec11640bb511d28097fa7644cdd3b (patch) | |
tree | f89ca8ee5c890a1d185a1f2c8aea8b3e1a0227b6 /core/exif.h | |
parent | fc55620d2d2942f7f8d95b5e73f8b58ec17ffdb9 (diff) | |
download | subsurface-4a550e4d7d5ec11640bb511d28097fa7644cdd3b.tar.gz |
Properly handle dive sites loaded from XML
We used to always create a new dive site structure when loading dive
site data from XML.
That is completely bogus, because it can (and does) create duplicate
dive sites with the same UUID. Which makes the whole UUID pointless.
So instead, look up the existing dive site associated with the UUID
loaded from the XML, and try to merge the data properly if we already
had dive site information for that UUID.
Reported-by: Alessandro Volpi <volpial@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'core/exif.h')
0 files changed, 0 insertions, 0 deletions