On 2005.01.31, Robert Garron <[EMAIL PROTECTED]> wrote:
>
> I know, as I was one of the Alpha Developers that ran it on 64 Bit
> Alpha very early on.... and it is still working better than fantastic.
> I believe I ported it around 1995.

Maybe you can help answer this question then:

Is the test in nsd/tclobj.c:NsTclInitTimeType() for "sizeof(int) <
sizeof(long)" still relevant?

At least on 64-bit SPARC, sizeof(int) = 4 and sizeof(long) = 8, so this
test fails, causing AOLserver to not start up.  Commenting out this test
gives a server that starts and has the initial appearance of fully
functioning, but I'm not sure what may/could break because of this.

I'm guessing that this is only interesting in the case on a 64-bit
system where the microseconds portion of the Ns_Time structure (long
usec) is divided by a int and not a long, causing some kind of
miscalculation?

What problem do we risk facing on a platform where sizeof(int) !=
sizeof(long) with regard to Ns_Time?

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to