[haiku-development] Re: find it icon problem, but ...
- From: "Jérôme Duval" <korli@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Fri, 22 Jun 2007 11:25:13 +0200
2007/6/22, Jonas Sundström <jonas@xxxxxxxxxxx>:
Commit r21484 by korli to /haiku/trunk/src/bin/mimeset.cpp:
"actually exit with an error when it happens"
kind of ground my builds to a halt, as the snag in mimesetting
FileType-F was -quite- reproducible. :)
I have some problems with mimeset on x86_64, which makes me interested in
your issue :)
It fails somewhere in BAppFileInfo::SetSignature().
It seems UpdateMimeInfoThread::DoMimeUpdate() fails in the
section below "// supported types". Roughly this sequence:
BAppFileInfo appFileInfoRead;
BAppFileInfo appFileInfoWrite;
// we read from resources and write to attributes
appFileInfoRead.SetInfoLocation(B_USE_RESOURCES);
appFileInfoWrite.SetInfoLocation(B_USE_ATTRIBUTES);
...
BMessage supportedTypes;
err = appFileInfoRead.GetSupportedTypes(&supportedTypes);
err = appFileInfoWrite.SetSupportedTypes(&supportedTypes);
I believe the last call fails on FileType-F, for some reason.
AppFileInfo.cpp's _Read/_Write/_RemoveData do not seem
to use the fWhere member.
However, these methods seem to use IsUsingAttributes() and
IsUsingResources().
I don't have much time atm.
Bye,
Jérôme
- Follow-Ups:
- [haiku-development] Re: find it icon problem, but ...
- From: Jonas Sundström
- References:
- [haiku-development] Re: find it icon problem, but ...
- From: Ingo Weinhold
- [haiku-development] Re: find it icon problem, but ...
- From: Jonas Sundström
Other related posts:
- » [haiku-development] find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
- » [haiku-development] Re: find it icon problem, but ...
Commit r21484 by korli to /haiku/trunk/src/bin/mimeset.cpp: "actually exit with an error when it happens" kind of ground my builds to a halt, as the snag in mimesetting FileType-F was -quite- reproducible. :)
section below "// supported types". Roughly this sequence: BAppFileInfo appFileInfoRead; BAppFileInfo appFileInfoWrite; // we read from resources and write to attributes appFileInfoRead.SetInfoLocation(B_USE_RESOURCES); appFileInfoWrite.SetInfoLocation(B_USE_ATTRIBUTES); ... BMessage supportedTypes; err = appFileInfoRead.GetSupportedTypes(&supportedTypes); err = appFileInfoWrite.SetSupportedTypes(&supportedTypes); I believe the last call fails on FileType-F, for some reason. AppFileInfo.cpp's _Read/_Write/_RemoveData do not seem to use the fWhere member.
- [haiku-development] Re: find it icon problem, but ...
- From: Jonas Sundström
- [haiku-development] Re: find it icon problem, but ...
- From: Ingo Weinhold
- [haiku-development] Re: find it icon problem, but ...
- From: Jonas Sundström