Parent Directory | Revision Log | Patch
revision 686 by stargo, Thu Apr 29 19:41:49 2004 UTC | revision 690 by astrand, Thu May 6 08:17:14 2004 UTC | |
---|---|---|
# | Line 653 disk_set_information(HANDLE handle, uint | Line 653 disk_set_information(HANDLE handle, uint |
653 | if (stat_fs.f_bsize * stat_fs.f_bfree < length) | if (stat_fs.f_bsize * stat_fs.f_bfree < length) |
654 | return STATUS_DISK_FULL; | return STATUS_DISK_FULL; |
655 | ||
656 | /* FIXME: Growing file with ftruncate doesn't | |
657 | work with Linux FAT fs */ | |
658 | if (ftruncate(handle, length) != 0) | if (ftruncate(handle, length) != 0) |
659 | { | { |
660 | perror("ftruncate"); | perror("ftruncate"); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |