summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-01-14 16:41:31 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-01-14 16:41:31 (GMT)
commitb9fc51e0cdffcc504849066fba77b82bd5fc9d01 (patch)
treeb84ec439c9ad617e72c0f9e055ddfd37545c5fdf /generic
parent1d3510566009494c47be45cb4bb5b731cd200154 (diff)
downloadtcl-b9fc51e0cdffcc504849066fba77b82bd5fc9d01.zip
tcl-b9fc51e0cdffcc504849066fba77b82bd5fc9d01.tar.gz
tcl-b9fc51e0cdffcc504849066fba77b82bd5fc9d01.tar.bz2
D'oh!
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index e4ddcd4..148f99f 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.114 2005/01/14 14:16:51 dkf Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.115 2005/01/14 16:41:31 dkf Exp $
*/
#include "tclInt.h"
@@ -2330,7 +2330,7 @@ TclFSFileAttrIndex(pathPtr, attributeName, indexPtr)
* It's a constant attribute table, so use T_GIFO.
*/
- Tcl_Obj *tmpObj = Tcl_NewStringObj(attributeName, NULL);
+ Tcl_Obj *tmpObj = Tcl_NewStringObj(attributeName, -1);
int result;
result = Tcl_GetIndexFromObj(NULL, tmpObj, attrTable, NULL, TCL_EXACT,