[interfacekit] Re: Broken BMessage

On 2004-10-08 at 18:58:08 [+0200], Erik Jaesler wrote:
> Following Ingo's very clear instructions, I was able to confirm that any
> BMessage-related issues with BAppFileInfo appear to be fixed.

But you haven't committed your changes, have you? At least I can still 
reproduce the `obos_registrar eats up all memory' problem.

> There are
> still unit test failures, but these have to do with MIME type
> installation failing.  The problem appears to be in Database::Install()
> (in /src/kits/storage/mime/Database.cpp); if
> /boot/home/config/settings/obos_mime/application (I think that's what
> it's called) doesn't exist, the function simply errs out, rather than
> creating the directory, which seems to me the appropriate thing to do.
> Obviously, Storage Kit is not my baliwick, so I haven't attempted to
> make a fix/*really* messed things up. ;)

You're probably right, that supertypes should be created, too, but since 
there's a fixed set of them, they should already exist even in a freshly 
installed system. Anyway the Storage Kit unit tests require a few more 
types to be installed, as they need something to play with. The easiest way 
is to copy ~/config/settings/beos_mime to .../obos_mime.

CU, Ingo

Other related posts: