• 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

FS#2669 - splitedit: check disk space before writing

Closed by  Alex Parker
2010-06-05 15:31
Reason for closing:  Out of Date
Linus Nielsen Feltzing commented on 2005-09-06 20:35

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.

Anonymous Submitter commented on 2005-09-07 08:59

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.


Available keyboard shortcuts


Task Details

Task Editing