From 29d7e9cdd65f707fb8c09938a86216cd71530e00 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 31 Jan 2006 01:09:02 +0000 Subject: [PATCH] Our FS is case sensitive, and the create_app_meta_mime() implementation didn't bring the app signature into its canonical lower-case form when using it as path to the MIME DB file. Thus an application signature MIME type didn't get any attributes, not even the path to the app's executable, which led to all kinds of problems when finding or starting applications by signature. Among them, Clock not finding its resources (bug #74). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16163 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/storage/mime/CreateAppMetaMimeThread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kits/storage/mime/CreateAppMetaMimeThread.cpp b/src/kits/storage/mime/CreateAppMetaMimeThread.cpp index 4fc33ba712..7725fe64d8 100644 --- a/src/kits/storage/mime/CreateAppMetaMimeThread.cpp +++ b/src/kits/storage/mime/CreateAppMetaMimeThread.cpp @@ -53,6 +53,7 @@ CreateAppMetaMimeThread::DoMimeUpdate(const entry_ref *entry, bool *entryIsDir) if (!err) err = node.ReadAttrString("BEOS:APP_SIG", &sig); if (!err) { + sig.ToLower(); // Init our various objects err = mime.SetTo(sig.String()); if (!err && !mime.IsInstalled())