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
This commit is contained in:
Ingo Weinhold 2006-01-31 01:09:02 +00:00
parent 1ba1f4be4a
commit 29d7e9cdd6
1 changed files with 1 additions and 0 deletions

View File

@ -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())