Small patch

Bo Thorsen bo at sonofthor.dk
Sat Aug 2 16:28:28 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 31 July 2003 16:04, Darin Adler wrote:
> On Wednesday, July 30, 2003, at 10:39  PM, Bo Thorsen wrote:
> > The problem is the max/min of long. I only know of one 64 bit
> > operating system that defined long as 32 bit (an MS one), everyone
> > else says it's 64 bit. But in this code, it's always treated like a
> > 32 bit.
>
> I think that's a misunderstanding of the code. There's nothing in the
> original code that's supposed to a "max and min of long". The "max" and
> "min" constants are the maximum and minimum values that are supposed to
> be stored as a simple number. They aren't supposed to actually be the
> max or min of any particular integer type.
>
> The original code is supposed to work on systems where long is 64 bit
> and systems where long is 32 bit, and even some future system where
> long is some bigger size. Maybe there's a bug in it, but I don't see
> any evidence of that so far.
>
> I recommend not landing the patch until you figure out if there's
> actually any bug here. You could make a test case that fails to
> demonstrate the original code is broken; that would sure convince me!

Okay. As I said in the first mail, I really don't care what happened to 
it. Wether there is a problem here or not is for others to decide.

Bo.

- -- 

     Bo Thorsen                 |   Praestevejen 4
     Senior Software Engineer   |   5290 Marslev
     Klarälvdalens Datakonsult  |   Denmark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/K7yCmT99lwfUS5IRAg7nAJ94Azg/dYDXn8TUQeRGZgv+IQJSAACePOfS
pzHIEJUhv8RcKaqqtkLg95A=
=AblX
-----END PGP SIGNATURE-----



More information about the Khtml-devel mailing list