summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2010-09-22 01:08:49 (GMT)
committerKevin B Kenny <kennykb@acm.org>2010-09-22 01:08:49 (GMT)
commitb915b5fe069f09a9bd7dec58b31623b29133be2f (patch)
tree6a13b2ab5f2e5e8d8efdb0e725da6876b66445ad /generic/tclIOUtil.c
parent53ebe37f0445f1a132bd20729d41894c6470622a (diff)
downloadtcl-b915b5fe069f09a9bd7dec58b31623b29133be2f.zip
tcl-b915b5fe069f09a9bd7dec58b31623b29133be2f.tar.gz
tcl-b915b5fe069f09a9bd7dec58b31623b29133be2f.tar.bz2
merge changes from HEAD
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 234e973..42ab1f3 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOUtil.c,v 1.177 2010/08/14 17:13:02 nijtmans Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.177.2.1 2010/09/22 01:08:49 kennykb Exp $
*/
#include "tclInt.h"
@@ -506,7 +506,7 @@ TclFSCwdPointerEquals(
str1 = Tcl_GetStringFromObj(tsdPtr->cwdPathPtr, &len1);
str2 = Tcl_GetStringFromObj(*pathPtrPtr, &len2);
- if (len1 == len2 && !strcmp(str1,str2)) {
+ if ((len1 == len2) && !memcmp(str1, str2, len1)) {
/*
* They are equal, but different objects. Update so they will be
* the same object in the future.