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

List:       kmail-devel
Subject:    Re: Huston, we have a problem: Q_UINT32 vs. unsigned long
From:       Bo Thorsen <bo () sonofthor ! dk>
Date:       2004-06-23 8:50:04
Message-ID: 200406231050.04908.bo () sonofthor ! dk
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 23 June 2004 01:00, Ingo Klöcker wrote:
> On Tuesday 22 June 2004 10:07, Bo Thorsen wrote:
> > On Tuesday 22 June 2004 10:04, David Faure wrote:
> > > On Tuesday 22 June 2004 09:01, Bo Thorsen wrote:
> > > > It's of course tempting to take advantage of the bigger
> > > > capability of a 64 bit system, but AFAIK the number stored in the
> > > > index file is always 32 bit, so that's not possible.
> > >
> > > Which is why there might be no bug at all here. As long as the
> > > serial numbers are initially created as int32s, it doesn't matter
> > > which (possibly bigger) int type you put them in later on.
> >
> > Well, they are saved back at some point. Of course, as long as the
> > serial number doesn't actually use the upper 32 bits then this
> > doesn't go wrong. Which means if someone decides to change the way
> > the serial numbers are done, then it will break.
>
> So it should be fixed eventually but it's not very urgent.

Yes. Could be a nice little janitor job, perhaps?

Bo.

-- 

     Bo Thorsen                 |   Praestevejen 4
     Senior Software Engineer   |   5290 Marslev
     Klarälvdalens Datakonsult  |   Denmark

[Attachment #5 (application/pgp-signature)]

_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


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

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