/[rdesktop]/sourceforge.net/trunk/rdesktop/disk.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/disk.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 689 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");

Legend:
Removed from v.689  
changed lines
  Added in v.690

  ViewVC Help
Powered by ViewVC 1.1.26