- Status Closed
- Percent Complete
- Task Type Patches
- Category Plugins
- Assigned To No-one
- Operating System
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Rockbox
Opened by Philipp Pertermann - 2005-09-06
Last edited by Alex Parker - 2010-06-05
Opened by Philipp Pertermann - 2005-09-06
Last edited by Alex Parker - 2010-06-05
FS#2669 - splitedit: check disk space before writing
This closes the bug reports
http://sourceforge.net/tracker/index.php?func=detail&group_id=44306&atid=439118&aid=1061652 http://sourceforge.net/tracker/index.php?func=detail&group_id=44306&atid=439118&aid=1061653
You now can abort the copying process with the stop
button (recorder)
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.
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.