Add the O_TRUNC flag when writing the modified file back to disk - fixes FS #6559

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12122 a1c6a512-1295-4272-9138-f99709370657
1 file changed