summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2005-01-14 16:41:30 (GMT)
committerdkf <dkf@noemail.net>2005-01-14 16:41:30 (GMT)
commitd15767f19feff9a64757949c4e26e6c7bec46875 (patch)
treeb84ec439c9ad617e72c0f9e055ddfd37545c5fdf /generic/tclIOUtil.c
parent273caa1d8b243c053253f7c3287f49c4016c25a0 (diff)
downloadtcl-d15767f19feff9a64757949c4e26e6c7bec46875.zip
tcl-d15767f19feff9a64757949c4e26e6c7bec46875.tar.gz
tcl-d15767f19feff9a64757949c4e26e6c7bec46875.tar.bz2
D'oh!
FossilOrigin-Name: da5234d835e0b0d76b3013bc1390ec3c5949376d
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 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,