CVS: rdesktop disk.c,1.16,1.17
Peter Bystr?m <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5900
Modified Files:
disk.c
Log Message:
a bad diff by me in disk.c 1.13 - 1.14 this is where the code should be, thanks for the correction volker
Index: disk.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/disk.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** disk.c 23 Feb 2004 13:35:50 -0000 1.16
--- disk.c 24 Feb 2004 15:24:38 -0000 1.17
***************
*** 648,656 ****
return STATUS_ACCESS_DENIED;
- /* 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;
-
break;
--- 648,651 ----
***************
*** 706,713 ****
in_uint32_le(in, length); /* file size */
! printf("FileEndOfFileInformation length = %d\n", length);
! // ????????????
! unimpl("IRP Set File Information class: FileEndOfFileInformation\n");
break;
default:
--- 701,712 ----
in_uint32_le(in, length); /* file size */
! /* 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;
! //printf("FileEndOfFileInformation length = %d\n", length);
! // ????????????
! //unimpl("IRP Set File Information class: FileEndOfFileInformation\n");
break;
default:
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click