Tk Library Source Code

View Ticket
Login
Ticket UUID: 1315688
Title: sha1 critcl wrong on SunOS-sparc
Type: Bug Version: None
Submitter: patthoyts Created on: 2005-10-07 09:20:47
Subsystem: sha1 Assigned To: patthoyts
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2005-10-07 21:35:54
Resolution: Fixed Closed By: patthoyts
    Closed on: 2005-10-07 14:35:54
Description:
The critcl code is producing incorrect results on
SunOS-sparc.
User Comments: patthoyts added on 2005-10-07 21:35:54:
Logged In: YES 
user_id=202636

Added code to set the byte order macro. Tested with gcc and
msvc on Windows and gcc on SunOS-sparc, OpenBSD-x86 and
Linux-x86. Should be ok everywhere as we use tcl's idea of
the byte order.

patthoyts added on 2005-10-07 18:53:05:
Logged In: YES 
user_id=202636

It's an endian-ness thing. Have to find a way to determine
the byte order in the pre-processor.