summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk_mixal.h
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2019-03-20 00:06:22 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2019-03-20 00:06:22 +0000
commitceec5c6d538a88867a92d826e33cddae6a80c545 (patch)
tree6c96d5e3098a822d7a42a81bb51520209887a629 /mixgtk/mixgtk_mixal.h
parent5ccc36c2b6a3344bb1ef72307370bbfe300573d3 (diff)
downloadmdk-ceec5c6d538a88867a92d826e33cddae6a80c545.tar.gz
mdk-ceec5c6d538a88867a92d826e33cddae6a80c545.tar.bz2
Fix: correctly rewind tape
According to the specification, if M < 0, the tape is skipped backwards M blocks, or to the beginning of the tape, whichever comes first. In the implementation, we don't check to verify that we aren't seeking past the beginning of the file. This causes fseek(3) to fail, and it leaves us at the position we were at. Diagnosis and fix by Kevin Brunelle.
Diffstat (limited to 'mixgtk/mixgtk_mixal.h')
0 files changed, 0 insertions, 0 deletions