#69 nsd/tcltime.c, 64-bit systems

Bug
closed-fixed
Stephen
5
2007-01-16
2007-01-16
Martin Matuska
No

nsd/tcltime.c 1.5 2006/11/16 15:31:03 sdeasey

Line 91:
if (sizeof(int) < sizeof(long)) {
Tcl_Panic("NsTclInitObjs: sizeof(int) < sizeof(long)");
}

sizeof(int)=4 and sizeof(long)=8 on 64-bit systems (Linux, FreeBSD, etc.), so this will always panic. Is this necessary?

Discussion

  • Stephen
    Stephen
    2007-01-16

    • assigned_to: nobody --> sdeasey
    • status: open --> closed-fixed
     
  • Stephen
    Stephen
    2007-01-16

    Logged In: YES
    user_id=87254
    Originator: NO

    The test isn't necessary.
    Fixed, thanks.