[evolution-patches] Patch for 69895 (misreporting of disk space breaking migration)
- From: David Malcolm <dmalcolm redhat com>
- To: Evolution Patches <evolution-patches ximian com>
- Subject: [evolution-patches] Patch for 69895 (misreporting of disk space breaking migration)
- Date: Mon, 06 Dec 2004 21:08:51 -0500
This one is already attached to the bug; posting to the list for more
visibility.
Dave
--- evolution-2.0.2/e-util/e-fsutils.c.fix-NFS-diskspace 2004-11-24 17:16:20.665440363 -0500
+++ evolution-2.0.2/e-util/e-fsutils.c 2004-11-24 17:21:30.760883396 -0500
@@ -138,10 +138,10 @@
return -1;
/* Assumes that frsize === power of 2 */
- if (stfs.f_frsize >= 1024)
- return stfs.f_bavail * (stfs.f_frsize / 1024);
+ if (stfs.f_bsize >= 1024)
+ return stfs.f_bavail * (stfs.f_bsize / 1024);
else
- return stfs.f_bavail / (1024 / stfs.f_frsize);
+ return stfs.f_bavail / (1024 / stfs.f_bsize);
#elif defined(HAVE_STATFS)
struct statfs stfs;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]