/[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 615 by n-ki, Mon Feb 23 13:35:50 2004 UTC revision 616 by n-ki, Tue Feb 24 15:24:38 2004 UTC
# Line 647  disk_set_information(HANDLE handle, uint Line 647  disk_set_information(HANDLE handle, uint
647                          if (fchmod(handle, mode))                          if (fchmod(handle, mode))
648                                  return STATUS_ACCESS_DENIED;                                  return STATUS_ACCESS_DENIED;
649    
                         /* prevents start of writing if not enough space left on device */  
                         if (STATFS_FN(g_rdpdr_device[pfinfo->device_id].local_path, &stat_fs) == 0)  
                                 if (stat_fs.f_bsize * stat_fs.f_bfree < length)  
                                         return STATUS_DISK_FULL;  
   
650                          break;                          break;
651    
652                  case 10:        /* FileRenameInformation */                  case 10:        /* FileRenameInformation */
# Line 705  disk_set_information(HANDLE handle, uint Line 700  disk_set_information(HANDLE handle, uint
700                          in_uint8s(in, 28);      /* unknown */                          in_uint8s(in, 28);      /* unknown */
701                          in_uint32_le(in, length);       /* file size */                          in_uint32_le(in, length);       /* file size */
702    
703                          printf("FileEndOfFileInformation length = %d\n", length);                          /* prevents start of writing if not enough space left on device */
704                          // ????????????                          if (STATFS_FN(g_rdpdr_device[pfinfo->device_id].local_path, &stat_fs) == 0)
705                                    if (stat_fs.f_bsize * stat_fs.f_bfree < length)
706                                            return STATUS_DISK_FULL;
707    
708                          unimpl("IRP Set File Information class: FileEndOfFileInformation\n");                          //printf("FileEndOfFileInformation length = %d\n", length);
709                            // ????????????
710                            //unimpl("IRP Set File Information class: FileEndOfFileInformation\n");
711                          break;                          break;
712                  default:                  default:
713    

Legend:
Removed from v.615  
changed lines
  Added in v.616

  ViewVC Help
Powered by ViewVC 1.1.26