diff options
author | dgp <dgp@noemail.net> | 2008-09-29 16:03:26 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2008-09-29 16:03:26 (GMT) |
commit | 98aec3c53bd81411b916f35336481315931e5b59 (patch) | |
tree | be3fc321fed687e92451501bc8e509c83bde8196 /generic/tclFileName.c | |
parent | d8ec603b7d9c013e816f85e9db27508b7eaa1b9e (diff) | |
download | tcl-98aec3c53bd81411b916f35336481315931e5b59.zip tcl-98aec3c53bd81411b916f35336481315931e5b59.tar.gz tcl-98aec3c53bd81411b916f35336481315931e5b59.tar.bz2 |
TIP #323 IMPLEMENTATION (partial)
* doc/glob.n: Revise [glob] to accept zero patterns.
* generic/tclFileName.c:
* tests fileName.test:
FossilOrigin-Name: a7fdab8e2f47f7494285338529e2c3a130b20bf4
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r-- | generic/tclFileName.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c index 9ff6c07..0c29459 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.92 2008/09/27 19:47:29 dkf Exp $ + * RCS: @(#) $Id: tclFileName.c,v 1.93 2008/09/29 16:03:30 dgp Exp $ */ #include "tclInt.h" @@ -1309,10 +1309,6 @@ Tcl_GlobObjCmd( } endOfForLoop: - if (objc - i < 1) { - Tcl_WrongNumArgs(interp, 1, objv, "?-switch ...? name ?name ...?"); - return TCL_ERROR; - } if ((globFlags & TCL_GLOBMODE_TAILS) && (pathOrDir == NULL)) { Tcl_AppendResult(interp, "\"-tails\" must be used with either " |