[maemo-commits] [maemo-commits] r18014 - projects/haf/trunk/shared-mime-info/debian/patches
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Apr 6 10:30:10 EEST 2009
- Previous message: [maemo-commits] r18013 - in projects/haf/trunk/ke-recv: debian src
- Next message: [maemo-commits] r18015 - projects/haf/trunk/ke-recv/src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: marivoll Date: 2009-04-06 10:29:55 +0300 (Mon, 06 Apr 2009) New Revision: 18014 Added: projects/haf/trunk/shared-mime-info/debian/patches/010_handle_no_magic.patch Log: New patch. Added: projects/haf/trunk/shared-mime-info/debian/patches/010_handle_no_magic.patch =================================================================== --- projects/haf/trunk/shared-mime-info/debian/patches/010_handle_no_magic.patch 2009-04-06 07:23:25 UTC (rev 18013) +++ projects/haf/trunk/shared-mime-info/debian/patches/010_handle_no_magic.patch 2009-04-06 07:29:55 UTC (rev 18014) @@ -0,0 +1,15 @@ +Index: update-mime-database.c +=================================================================== +--- update-mime-database.c (revision 16170) ++++ update-mime-database.c (working copy) +@@ -2220,7 +2220,10 @@ write_match (gpointer key, + return; + } + ++ if (magic->matches) + offset = mdata->offset + 32 * g_list_index (mdata->matches, magic->matches->data); ++ else ++ offset = 0; + + if (!write_card32 (mdata->cache, offset)) + {
- Previous message: [maemo-commits] r18013 - in projects/haf/trunk/ke-recv: debian src
- Next message: [maemo-commits] r18015 - projects/haf/trunk/ke-recv/src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]