amaKode leaves files open
Brought to you by:
htrd
amaKode deletes temporary files when it has finished with them, but it keeps the file descriptors open. Thus the files are not deleted from the disc until amaKode is stopped or amarok restarted. The disc can fill up and cause transcoding to fail. The attached patch ensures that all open file descriptors are closed when amaKode is finished with them.
Please test carefully.
(C) Bruce Duncan 2008
Released under the same license as amakode
Patch to close files before unlinking them.