Overview
| Artifact ID: | ebf2c03a1b0eae58fa7d61208de8dee50bc4cf50 |
|---|---|
| Ticket: | 2902010fffffffffffffffffffffffffffffffff
2819200 fix breaks Tcl on MIPS on Linux |
| User & Date: | stwo on 2009-11-23 10:37:47 |
Changes
- icomment:
This also breaks OpenBSD/MIPS. I'm waiting for a more detailed report from the person who reported this to me. Meanwhile, this patch is being used, supplied for informational purposes. No idea what the fix should be. --- generic/tclStrToD.c.orig Sun Nov 22 13:37:00 2009 +++ generic/tclStrToD.c Sun Nov 22 13:39:08 2009 @@ -73,7 +73,7 @@ typedef unsigned int fpu_control_t __attribute__ ((__m * MIPS floating-point units need special settings in control registers * to use gradual underflow as we expect. */ -#if defined(__mips) +#if defined(__mips) && !defined(__OpenBSD__) #include <sys/fpu.h> #endif /* @@ -2166,7 +2166,7 @@ TclInitDoubleConversion(void) } bitwhack; #endif -#if defined(__mips) +#if defined(__mips) && !defined(__OpenBSD__) union fpc_csr mipsCR; mipsCR.fc_word = get_fpc_csr(); - login: "stwo"
- mimetype: "text/plain"
- username: "stwo"