summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdMZ.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/tclCmdMZ.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/tclCmdMZ.c')
-rw-r--r--generic/tclCmdMZ.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c
index a3b03df..3707ca4 100644
--- a/generic/tclCmdMZ.c
+++ b/generic/tclCmdMZ.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdMZ.c,v 1.68 2002/05/29 09:09:57 hobbs Exp $
+ * RCS: @(#) $Id: tclCmdMZ.c,v 1.69 2002/05/29 10:35:45 dkf Exp $
*/
#include "tclInt.h"
@@ -1329,7 +1329,7 @@ Tcl_StringObjCmd(dummy, interp, objc, objv)
* Scan forward to find the first character.
*/
if ((*p == *ustring1) &&
- (Tcl_UniCharNcmp(ustring1, p,
+ (TclUniCharNcmp(ustring1, p,
(unsigned long) length1) == 0)) {
match = p - ustring2;
break;