summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-05-29 10:35:34 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-05-29 10:35:34 (GMT)
commit52319201a0f33f5984298267ba05ede5689eb818 (patch)
tree69690c28d7ea044538f1557ec58740707718d328 /generic/tclExecute.c
parent3a1941e7d007e93449aa22085687a8fafaddad7e (diff)
downloadtcl-52319201a0f33f5984298267ba05ede5689eb818.zip
tcl-52319201a0f33f5984298267ba05ede5689eb818.tar.gz
tcl-52319201a0f33f5984298267ba05ede5689eb818.tar.bz2
Made Tcl_UniCharNcmp faster on big-endian machines; the system memcmp()is
probably optimized far in excess of anything we could do! Little-endian just use the old code...
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index bbe2728..4658711 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.54 2002/05/29 09:09:57 hobbs Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.55 2002/05/29 10:35:45 dkf Exp $
*/
#include "tclInt.h"
@@ -2751,7 +2751,7 @@ TclExecuteByteCode(interp, codePtr)
Tcl_UniChar *uni1, *uni2;
uni1 = Tcl_GetUnicodeFromObj(valuePtr, &s1len);
uni2 = Tcl_GetUnicodeFromObj(value2Ptr, &s2len);
- iResult = Tcl_UniCharNcmp(uni1, uni2,
+ iResult = TclUniCharNcmp(uni1, uni2,
(unsigned) ((s1len < s2len) ? s1len : s2len));
} else {
/*