[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Ksycoca backwards compatibility & freeze
From:       Hans Meine <hans_meine () gmx ! net>
Date:       2000-04-04 1:07:42
[Download RAW message or body]

Waldo Bastian <bastian@suse.de> writes:

> Boring Details:
> The function allMimeTypes (and other "all" functions) read mimetypes
> sequentially from the database. This will break if newer versions of the
> database store more information per mimetype, the old kdelibs will then only
> read the old mimetype-info and assume that the extra mimetype info is the start
> of the next mimetype. To solve this problem we need to store a list with
> the starting position of each mimetype. Then newer version can store more
> information per miemtype which will just get ignored by the older version.
If the list has no use at other places, how about a length field at the
beginning of each entry? Just my 0.02$...

-- 

Ciao,
   /  /
  /--/
 /  / ANS
_____________________________________________________________________
Hans Meine                                mail me: hans_meine@gmx.net
Harkortstr. 138
D-22765 Hamburg                              ICQ: RastaJoe <28674493>
[Germany]                                     Phone: ++49-40-38612523

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic