ocarina/core
Anna Schumaker fea5da5c10 tempq: Close file if version check fails
We were returning right away if the file version check fails, without
closing the file.  This could cause future reads or writes to fail to
open.

Fixes #25: File version checking doesn't look quite right
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-03-17 11:48:04 -04:00
..
containers core/containers/queue: Add _q_add_sorted() function 2016-01-15 15:10:44 -05:00
tags core/tags/track: Expand track_compare() to compare by different fields 2016-01-15 15:10:44 -05:00
audio.cpp core/tempq: Convert file to C 2016-03-11 10:40:34 -05:00
collection.c core/playlist: Rename PL_BANNED -> PL_HIDDEN 2016-02-29 13:22:31 -05:00
core.cpp core/tempq: Convert file to C 2016-03-11 10:40:34 -05:00
date.c core/date: Add date_set() to directly set a date structure 2015-11-10 10:55:54 -05:00
file.c core/file: Add better error reporting 2015-12-04 10:11:33 -05:00
filter.c core/containers: Move index into the containers/ directory 2016-01-15 15:10:44 -05:00
history.c core/history: Add history_prev() function 2016-03-11 10:40:34 -05:00
idle.c core/idle: Add idle_cancel() function 2016-03-01 08:27:13 -05:00
playlist.c core/playlist: Rename PL_BANNED -> PL_HIDDEN 2016-02-29 13:22:31 -05:00
queue.c core/queue: Add queue_clear() 2016-01-29 10:12:09 -05:00
random.c core/random: Convert to C 2015-10-07 10:05:58 -04:00
Sconscript core/containers: Move set into the containers/ directory 2016-01-15 15:10:44 -05:00
string.c core/string: Add string_tm2str() function to get a date stringg 2015-11-10 10:55:54 -05:00
tempq.c tempq: Close file if version check fails 2016-03-17 11:48:04 -04:00