]> git.tdb.fi Git - ext/subsurface.git/commit
Oops. I forgot to 'fclose()' the file after saving the xml
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Sep 2011 16:50:31 +0000 (09:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Sep 2011 16:50:31 +0000 (09:50 -0700)
commita57668127eb0e00bc467ae0fc487592e95c17227
tree6327050c7ba39bf1cd7b883d8306fcab2c141dca
parenta6b9eaee0aa2ff67482560f4401e0dc6f2c79237
Oops. I forgot to 'fclose()' the file after saving the xml

It never actually triggered anything for me, but any buffered data might
be lost, especially if you force-exit the application after saving a
dive log.

This probably explains a corrupted (truncated) dive file report from
Nathan Samson.

Reported-by: Nathan Samson <https://github.com/nathansamson>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
save-xml.c