diff options
author | dkf <dkf@noemail.net> | 2007-11-18 22:30:09 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2007-11-18 22:30:09 (GMT) |
commit | f9fb05505005df6b8dac06ec41dd2c4eb648ba6d (patch) | |
tree | a168b4a14a7f4bf466ffa4d2ea1903339cbd0221 /generic/tclFileName.c | |
parent | a0af3a4c092f513cad30843eadb9af9531795327 (diff) | |
download | tcl-f9fb05505005df6b8dac06ec41dd2c4eb648ba6d.zip tcl-f9fb05505005df6b8dac06ec41dd2c4eb648ba6d.tar.gz tcl-f9fb05505005df6b8dac06ec41dd2c4eb648ba6d.tar.bz2 |
More minor cleanup
FossilOrigin-Name: 2746b844cadd89c74077393da3fe02624ac8b162
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r-- | generic/tclFileName.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c index 6705866..dc58199 100644 --- a/generic/tclFileName.c +++ b/generic/tclFileName.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclFileName.c,v 1.84 2007/06/20 18:46:12 dgp Exp $ + * RCS: @(#) $Id: tclFileName.c,v 1.85 2007/11/18 22:32:47 dkf Exp $ */ #include "tclInt.h" @@ -1154,7 +1154,7 @@ DoTildeSubst( if (interp) { Tcl_ResetResult(interp); Tcl_AppendResult(interp, "couldn't find HOME environment " - "variable to expand path", (char *) NULL); + "variable to expand path", NULL); } return NULL; } @@ -1164,7 +1164,7 @@ DoTildeSubst( if (interp) { Tcl_ResetResult(interp); Tcl_AppendResult(interp, "user \"", user, "\" doesn't exist", - (char *) NULL); + NULL); } return NULL; } @@ -1598,19 +1598,18 @@ Tcl_GlobObjCmd( if (length == 0) { Tcl_AppendResult(interp, "no files matched glob pattern", - (join || (objc == 1)) ? " \"" : "s \"", (char *) NULL); + (join || (objc == 1)) ? " \"" : "s \"", NULL); if (join) { - Tcl_AppendResult(interp, Tcl_DStringValue(&prefix), - (char *) NULL); + Tcl_AppendResult(interp, Tcl_DStringValue(&prefix), NULL); } else { const char *sep = ""; for (i = 0; i < objc; i++) { string = Tcl_GetString(objv[i]); - Tcl_AppendResult(interp, sep, string, (char *) NULL); + Tcl_AppendResult(interp, sep, string, NULL); sep = " "; } } - Tcl_AppendResult(interp, "\"", (char *) NULL); + Tcl_AppendResult(interp, "\"", NULL); result = TCL_ERROR; } } |