r3901 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src/phone-kit

chris at sita.openmoko.org chris at sita.openmoko.org
Mon Jan 21 16:54:19 CET 2008


Author: chris
Date: 2008-01-21 16:54:18 +0100 (Mon, 21 Jan 2008)
New Revision: 3901

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c
Log:
        * src/phone-kit/moko-sms.c: (memory_check_idle):
        Removing free file handles check for now


Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2008-01-21 15:51:10 UTC (rev 3900)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2008-01-21 15:54:18 UTC (rev 3901)
@@ -1,5 +1,10 @@
 2008-01-21  Chris Lord  <chris at openedhand.com>
 
+	* src/phone-kit/moko-sms.c: (memory_check_idle):
+	Removing free file handles check for now
+
+2008-01-21  Chris Lord  <chris at openedhand.com>
+
 	* src/phone-kit/moko-sms.c: (moko_sms_class_init):
 	Register custom marshaller for MemoryFull signal
 

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c	2008-01-21 15:51:10 UTC (rev 3900)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c	2008-01-21 15:54:18 UTC (rev 3901)
@@ -652,8 +652,8 @@
   statfs ("/", &buf);
   
   /* TODO: Is it reasonable to expect 4 megs/100 files free? */
-  if (((buf.f_bfree * buf.f_bsize) < (1024*1024*4)) ||
-      (buf.f_ffree < 100)) {
+  if (((buf.f_bfree * buf.f_bsize) < (1024*1024*4))/* ||
+      (buf.f_ffree < 100)*/) {
     if (!priv->memory_full) {
       priv->memory_full = TRUE;
       g_signal_emit (sms, signals[MEMORY_FULL], 0, priv->sim_full, TRUE);





More information about the commitlog mailing list