diff options
author | vincentdarley <vincentdarley@noemail.net> | 2003-12-12 17:02:37 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2003-12-12 17:02:37 (GMT) |
commit | 211c8a1363f050306a32749f80db6a313ecfb7bd (patch) | |
tree | 08fa16a9d24940c91c9a0a1293f6b97ea4fe8a1f /generic/tclCmdAH.c | |
parent | 5e16b9cf4b23f24e507dad9738d917289ba4310c (diff) | |
download | tcl-211c8a1363f050306a32749f80db6a313ecfb7bd.zip tcl-211c8a1363f050306a32749f80db6a313ecfb7bd.tar.gz tcl-211c8a1363f050306a32749f80db6a313ecfb7bd.tar.bz2 |
file normalize ~nobody fix
FossilOrigin-Name: f1c2619a405fb9f2bd0e804c431973173537c3c8
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r-- | generic/tclCmdAH.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index e049520..97266c0 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.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: tclCmdAH.c,v 1.36 2003/11/10 17:57:21 vincentdarley Exp $ + * RCS: @(#) $Id: tclCmdAH.c,v 1.37 2003/12/12 17:02:37 vincentdarley Exp $ */ #include "tclInt.h" @@ -1208,6 +1208,9 @@ Tcl_FileObjCmd(dummy, interp, objc, objv) } fileName = Tcl_FSGetNormalizedPath(interp, objv[2]); + if (fileName == NULL) { + return TCL_ERROR; + } Tcl_SetObjResult(interp, fileName); return TCL_OK; } |