Rockbox

Tasklist

FS#2669 - splitedit: check disk space before writing

Attached to Project: Rockbox
Opened by Philipp Pertermann (langhaarrocker) - Tuesday, 06 September 2005, 16:10 GMT
Last edited by Alex Parker (BigBambi) - Saturday, 05 June 2010, 15:31 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No
This task depends upon

Closed by  Alex Parker (BigBambi)
Saturday, 05 June 2010, 15:31 GMT
Reason for closing:  Out of Date
Comment by Linus Nielsen Feltzing (linusnielsen) - Tuesday, 06 September 2005, 20:35 GMT

The fat_size() function doesn't tell the truth about the
real remaining space on the disk, especially if the drive
has been mounted under the Windows operating system.

You need to check the return code from write() to catch the
disk full errors as well.
Comment by Anonymous Submitter - Wednesday, 07 September 2005, 08:59 GMT

Unfortunately I won't have much time at hand for the next
few weeks. Thus I suggest to commit this meanwhile as it is
an improvement. I can fix write checking later.

Loading...