tags 639413 + patch quit intrigeri wrote: >> On Fri, 2011-08-26 at 18:11 -0500, Jonathan Nieder wrote:
>>> FWIW I also suspect that Jean-Michel's patch was correct and the patch >>> applied upstream contains a typo. disk.c in the upstream svn repo >>> looks the same as sid. Cloning to track this. [...] > Any news on that? The typo still seems to be present in rdesktop 1.7.1. Do you know if upstream has been informed? diff --git i/disk.c w/disk.c index 7075c5e3..5362e68a 100644 --- i/disk.c +++ w/disk.c @@ -117,6 +117,7 @@ struct dummy_statfs_t long f_bfree; long f_bsize; long f_blocks; + long f_bavail; int f_namelen; int f_namemax; }; @@ -125,6 +126,7 @@ static int dummy_statfs(struct dummy_statfs_t *buf) { buf->f_blocks = 262144; + buf->f_bavail = 131072; buf->f_bfree = 131072; buf->f_bsize = 512; buf->f_namelen = 255; @@ -1137,8 +1139,8 @@ disk_query_volume_information(RD_NTHANDLE handle, uint32 info_class, STREAM out) out_uint32_le(out, stat_fs.f_blocks); /* Total allocation units low */ out_uint32_le(out, 0); /* Total allocation units high */ - out_uint32_le(out, stat_fs.f_blocks); /* Caller allocation units low */ - out_uint32_le(out, 0); /* Caller allocation units high */ + out_uint32_le(out, stat_fs.f_bavail); /* Caller-available allocation units low */ + out_uint32_le(out, 0); /* Caller-available allocation units high */ out_uint32_le(out, stat_fs.f_bfree); /* Available allocation units */ out_uint32_le(out, 0); /* Available allowcation units */ out_uint32_le(out, stat_fs.f_bsize / 0x200); /* Sectors per allocation unit */ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org