[maemo-commits] [maemo-commits] r19229 - in projects/haf/tags/ke-recv/3.19-8: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Aug 28 14:37:46 EEST 2009
Author: kihamala
Date: 2009-08-28 14:37:45 +0300 (Fri, 28 Aug 2009)
New Revision: 19229

Modified:
   projects/haf/tags/ke-recv/3.19-8/debian/changelog
   projects/haf/tags/ke-recv/3.19-8/src/events.c
Log:
fix formatting of partitionless external memory card


Modified: projects/haf/tags/ke-recv/3.19-8/debian/changelog
===================================================================
--- projects/haf/tags/ke-recv/3.19-8/debian/changelog	2009-08-28 11:10:55 UTC (rev 19228)
+++ projects/haf/tags/ke-recv/3.19-8/debian/changelog	2009-08-28 11:37:45 UTC (rev 19229)
@@ -1,3 +1,11 @@
+ke-recv (3.19-8) unstable; urgency=low
+
+  * Do not require the external card to have a partition in order to format
+    it.
+  * Fixes: NB#135087 - Memory card cannot be formatted
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Fri, 28 Aug 2009 13:53:38 +0300
+
 ke-recv (3.19-7) unstable; urgency=low
 
   Patch from Mox Soini to support '/home/user/.config/user-dirs.dirs':

Modified: projects/haf/tags/ke-recv/3.19-8/src/events.c
===================================================================
--- projects/haf/tags/ke-recv/3.19-8/src/events.c	2009-08-28 11:10:55 UTC (rev 19228)
+++ projects/haf/tags/ke-recv/3.19-8/src/events.c	2009-08-28 11:37:45 UTC (rev 19229)
@@ -710,7 +710,8 @@
         else
                 vol = get_nth_volume(mmc, mmc->preferred_volume);
 
-        if (vol == NULL || vol->dev_name == NULL) {
+        if (!mmc->control_partitions &&
+            (vol == NULL || vol->dev_name == NULL)) {
                 ULOG_ERR_F("could not find partition");
                 return;
         }

More information about the maemo-commits mailing list